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. --- protocols/skype/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols') diff --git a/protocols/skype/Makefile b/protocols/skype/Makefile index 6548bfb9..b0ad2237 100644 --- a/protocols/skype/Makefile +++ b/protocols/skype/Makefile @@ -5,9 +5,9 @@ endif DATE := $(shell date +%Y-%m-%d) INSTALL = install -ASCIIDOC = yes -ifeq ($(ASCIIDOC),yes) + +ifdef ASCIIDOC MANPAGES = skyped.1 else MANPAGES = @@ -28,7 +28,7 @@ test: all doc: $(MANPAGES) install-doc: doc -ifeq ($(ASCIIDOC),yes) +ifdef ASCIIDOC $(INSTALL) -d $(DESTDIR)$(MANDIR)/man1 $(INSTALL) -m644 $(MANPAGES) $(DESTDIR)$(MANDIR)/man1 endif -- cgit v1.2.3