Last change
on this file since 3058c30 was
a85a8ab,
checked in by dequis <dx@…>, at 2015-02-23T04:50:32Z
|
Add --doc= configure option to disable helpfile generation
It will get disabled automatically if the deps (xmlto and xsltproc)
are missing
Also added checks for asciidoc (a2x) for the skype plugin, which needs
it for the skyped man page, and will also get that disabled if --doc=0
is passed or if asciidoc isn't installed.
This should keep those ugly deps under control for now.
I'd like to replace them at some point with something less dumb.
|
-
Property mode set to
100644
|
File size:
589 bytes
|
Line | |
---|
1 | -include ../Makefile.settings |
---|
2 | ifdef _SRCDIR_ |
---|
3 | _SRCDIR_ := $(_SRCDIR_)doc/ |
---|
4 | endif |
---|
5 | |
---|
6 | all: |
---|
7 | # Only build the docs if this is a git tree |
---|
8 | test ! '(' -d ../.git -o -d ../.bzr ')' || $(MAKE) -C user-guide |
---|
9 | |
---|
10 | install: |
---|
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 | |
---|
16 | uninstall: |
---|
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.