source: doc/Makefile @ 6f10697

Last change on this file since 6f10697 was 25b80e9c, checked in by Wilmer van der Gaast <wilmer@…>, at 2012-06-03T21:01:06Z

Commit two patches from RH package maintainer (#956).

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