diff options
author | dequis <dx@dxzone.com.ar> | 2015-02-23 01:50:32 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2015-02-23 01:50:32 -0300 |
commit | a85a8abd658bb38bd1d67abdbf85ef4302f92223 (patch) | |
tree | 62d47dc31461987b4f5e613fbe5137af4a0de2c5 /Makefile | |
parent | 570f183e4dfa70aae5f534291cab496ffc6200a4 (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 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -24,7 +24,9 @@ ifdef SKYPE_PI endif doc: +ifdef DOC $(MAKE) -C doc +endif uninstall: uninstall-bin uninstall-doc @echo -e '\nmake uninstall does not remove files in '$(DESTDIR)$(ETCDIR)', you can use make uninstall-etc to do that.\n' @@ -72,13 +74,17 @@ lcov: check genhtml -o coverage bitlbee.info install-doc: +ifdef DOC $(MAKE) -C doc install +endif ifdef SKYPE_PI $(MAKE) -C protocols/skype install-doc endif uninstall-doc: +ifdef DOC $(MAKE) -C doc uninstall +endif ifdef SKYPE_PI $(MAKE) -C protocols/skype uninstall-doc endif |