Changeset a85a8ab for doc/Makefile


Ignore:
Timestamp:
2015-02-23T04:50:32Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
a67e781
Parents:
570f183
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/Makefile

    r570f183 ra85a8ab  
    66all:
    77        # Only build the docs if this is a git tree
    8         -test ! '(' -d ../.git -o -d ../.bzr ')' || $(MAKE) -C user-guide
     8        test ! '(' -d ../.git -o -d ../.bzr ')' || $(MAKE) -C user-guide
    99
    1010install:
     
    1212        $(INSTALL) -m 0644 $(_SRCDIR_)bitlbee.8 $(DESTDIR)$(MANDIR)/man8/
    1313        $(INSTALL) -m 0644 $(_SRCDIR_)bitlbee.conf.5 $(DESTDIR)$(MANDIR)/man5/
    14         -$(MAKE) -C user-guide $@
     14        $(MAKE) -C user-guide $@
    1515
    1616uninstall:
Note: See TracChangeset for help on using the changeset viewer.