From a85a8abd658bb38bd1d67abdbf85ef4302f92223 Mon Sep 17 00:00:00 2001 From: dequis Date: Mon, 23 Feb 2015 01:50:32 -0300 Subject: 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. --- doc/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/Makefile b/doc/Makefile index 1e32dbe4..69471d32 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -5,13 +5,13 @@ endif all: # Only build the docs if this is a git tree - -test ! '(' -d ../.git -o -d ../.bzr ')' || $(MAKE) -C user-guide + test ! '(' -d ../.git -o -d ../.bzr ')' || $(MAKE) -C user-guide install: mkdir -p $(DESTDIR)$(MANDIR)/man8/ $(DESTDIR)$(MANDIR)/man5/ $(INSTALL) -m 0644 $(_SRCDIR_)bitlbee.8 $(DESTDIR)$(MANDIR)/man8/ $(INSTALL) -m 0644 $(_SRCDIR_)bitlbee.conf.5 $(DESTDIR)$(MANDIR)/man5/ - -$(MAKE) -C user-guide $@ + $(MAKE) -C user-guide $@ uninstall: rm -f $(DESTDIR)$(MANDIR)/man8/bitlbee.8* -- cgit v1.2.3