source: doc/Makefile @ f60079b

Last change on this file since f60079b was f60079b, checked in by Wilmer van der Gaast <wilmer@…>, at 2010-05-25T22:26:54Z

Allow one to run the configure script from a different directory and put all
build files in there. I need this to properly make Debian package variants
(i.e. libpurple and native).

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