aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/skype
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2015-02-23 01:50:32 -0300
committerdequis <dx@dxzone.com.ar>2015-02-23 01:50:32 -0300
commita85a8abd658bb38bd1d67abdbf85ef4302f92223 (patch)
tree62d47dc31461987b4f5e613fbe5137af4a0de2c5 /protocols/skype
parent570f183e4dfa70aae5f534291cab496ffc6200a4 (diff)
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.
Diffstat (limited to 'protocols/skype')
-rw-r--r--protocols/skype/Makefile6
1 files changed, 3 insertions, 3 deletions
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