source: doc/Makefile @ 34d16d5

Last change on this file since 34d16d5 was fd45e859, checked in by dequis <dx@…>, at 2015-06-04T17:13:22Z

Allow building docs from any directory

Also just remove the .git check completely - just rely on make skipping
it if it exists already.

  • Property mode set to 100644
File size: 501 bytes
RevLine 
[b7d3cc34]1-include ../Makefile.settings
[7fa5c19]2ifdef _SRCDIR_
3_SRCDIR_ := $(_SRCDIR_)doc/
[f60079b]4endif
[b7d3cc34]5
[513a323]6all:
[fd45e859]7        $(MAKE) -C user-guide
[513a323]8
[b7d3cc34]9install:
10        mkdir -p $(DESTDIR)$(MANDIR)/man8/ $(DESTDIR)$(MANDIR)/man5/
[25b80e9c]11        $(INSTALL) -m 0644 $(_SRCDIR_)bitlbee.8 $(DESTDIR)$(MANDIR)/man8/
12        $(INSTALL) -m 0644 $(_SRCDIR_)bitlbee.conf.5 $(DESTDIR)$(MANDIR)/man5/
[a85a8ab]13        $(MAKE) -C user-guide $@
[b7d3cc34]14
15uninstall:
16        rm -f $(DESTDIR)$(MANDIR)/man8/bitlbee.8*
17        rm -f $(DESTDIR)$(MANDIR)/man5/bitlbee.conf.5*
[5357525]18        $(MAKE) -C user-guide $@
[b7d3cc34]19
20.PHONY: install uninstall
Note: See TracBrowser for help on using the repository browser.