source: doc/Makefile @ 4c73ba62

Last change on this file since 4c73ba62 was 7fa5c19, checked in by Wilmer van der Gaast <wilmer@…>, at 2012-02-11T12:55:45Z

Rename SRCDIR directory to _SRCDIR_. I guess #907 was caused by SRCDIR
unexpectedly being set to something already.

  • Property mode set to 100644
File size: 565 bytes
RevLine 
[b7d3cc34]1-include ../Makefile.settings
[7fa5c19]2ifdef _SRCDIR_
3_SRCDIR_ := $(_SRCDIR_)doc/
[f60079b]4endif
[b7d3cc34]5
[513a323]6all:
7        # Only build the docs if this is a bzr checkout
8        test ! -d ../.bzr || $(MAKE) -C user-guide
9
[b7d3cc34]10install:
11        mkdir -p $(DESTDIR)$(MANDIR)/man8/ $(DESTDIR)$(MANDIR)/man5/
[7fa5c19]12        install -m 0644 $(_SRCDIR_)bitlbee.8 $(DESTDIR)$(MANDIR)/man8/
13        install -m 0644 $(_SRCDIR_)bitlbee.conf.5 $(DESTDIR)$(MANDIR)/man5/
[5357525]14        $(MAKE) -C user-guide $@
[b7d3cc34]15
16uninstall:
17        rm -f $(DESTDIR)$(MANDIR)/man8/bitlbee.8*
18        rm -f $(DESTDIR)$(MANDIR)/man5/bitlbee.conf.5*
[5357525]19        $(MAKE) -C user-guide $@
[b7d3cc34]20
21.PHONY: install uninstall
Note: See TracBrowser for help on using the repository browser.