source:
doc/Makefile
@
273949d
Last change on this file since 273949d was 273949d, checked in by , at 2015-02-22T21:19:21Z | |
---|---|
|
|
File size: 591 bytes |
Rev | Line | |
---|---|---|
[b7d3cc34] | 1 | -include ../Makefile.settings |
[7fa5c19] | 2 | ifdef _SRCDIR_ |
3 | _SRCDIR_ := $(_SRCDIR_)doc/ | |
[f60079b] | 4 | endif |
[b7d3cc34] | 5 | |
[513a323] | 6 | all: |
[e26aa72] | 7 | # Only build the docs if this is a git tree |
[273949d] | 8 | -test ! '(' -d ../.git -o -d ../.bzr ')' || $(MAKE) -C user-guide |
[513a323] | 9 | |
[b7d3cc34] | 10 | install: |
11 | mkdir -p $(DESTDIR)$(MANDIR)/man8/ $(DESTDIR)$(MANDIR)/man5/ | |
[25b80e9c] | 12 | $(INSTALL) -m 0644 $(_SRCDIR_)bitlbee.8 $(DESTDIR)$(MANDIR)/man8/ |
13 | $(INSTALL) -m 0644 $(_SRCDIR_)bitlbee.conf.5 $(DESTDIR)$(MANDIR)/man5/ | |
[273949d] | 14 | -$(MAKE) -C user-guide $@ |
[b7d3cc34] | 15 | |
16 | uninstall: | |
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.