Changeset a85a8ab
- Timestamp:
- 2015-02-23T04:50:32Z (10 years ago)
- Branches:
- master
- Children:
- a67e781
- Parents:
- 570f183
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r570f183 ra85a8ab 25 25 26 26 doc: 27 ifdef DOC 27 28 $(MAKE) -C doc 29 endif 28 30 29 31 uninstall: uninstall-bin uninstall-doc … … 73 75 74 76 install-doc: 77 ifdef DOC 75 78 $(MAKE) -C doc install 79 endif 76 80 ifdef SKYPE_PI 77 81 $(MAKE) -C protocols/skype install-doc … … 79 83 80 84 uninstall-doc: 85 ifdef DOC 81 86 $(MAKE) -C doc uninstall 87 endif 82 88 ifdef SKYPE_PI 83 89 $(MAKE) -C protocols/skype uninstall-doc -
configure
r570f183 ra85a8ab 37 37 purple=0 38 38 39 doc=1 39 40 debug=0 40 41 strip=1 … … 59 60 # Cygwin and Darwin don't support PIC/PIE 60 61 case "$arch" in 61 62 63 64 62 CYGWIN* ) 63 pie=0;; 64 Darwin ) 65 pie=0;; 65 66 esac 66 67 … … 94 95 (automatically disables other protocol modules) 95 96 97 --doc=0/1 Disable/enable help.txt generation $doc 96 98 --debug=0/1 Disable/enable debugging $debug 97 99 --strip=0/1 Disable/enable binary stripping $strip … … 647 649 fi 648 650 649 if [ ! -e doc/user-guide/help.txt ] && ! type xmlto > /dev/null 2> /dev/null; then 650 echo 651 echo 'WARNING: Building from an unreleased source tree without prebuilt helpfile.' 652 echo 'Install xmlto if you want online help to work.' 651 if [ "$doc" = "1" ]; then 652 if [ ! -e doc/user-guide/help.txt ] && \ 653 ! type xmlto > /dev/null 2> /dev/null || \ 654 ! type xsltproc > /dev/null 2> /dev/null 655 then 656 echo 657 echo 'WARNING: Building from an unreleased source tree without prebuilt helpfile.' 658 echo 'Install xmlto and xsltproc if you want online help to work.' 659 else 660 echo "DOC=1" >> Makefile.settings 661 fi 662 663 if [ "$skype" = "1" -o "$skype" = "plugin" ]; then 664 # skype also needs asciidoc 665 if ! type a2x > /dev/null 2> /dev/null; then 666 echo 667 echo 'WARNING: The skyped man page requires asciidoc. It will not be generated.' 668 else 669 echo "ASCIIDOC=1" >> Makefile.settings 670 fi 671 fi 653 672 fi 654 673 -
doc/Makefile
r570f183 ra85a8ab 6 6 all: 7 7 # Only build the docs if this is a git tree 8 -test ! '(' -d ../.git -o -d ../.bzr ')' || $(MAKE) -C user-guide8 test ! '(' -d ../.git -o -d ../.bzr ')' || $(MAKE) -C user-guide 9 9 10 10 install: … … 12 12 $(INSTALL) -m 0644 $(_SRCDIR_)bitlbee.8 $(DESTDIR)$(MANDIR)/man8/ 13 13 $(INSTALL) -m 0644 $(_SRCDIR_)bitlbee.conf.5 $(DESTDIR)$(MANDIR)/man5/ 14 -$(MAKE) -C user-guide $@14 $(MAKE) -C user-guide $@ 15 15 16 16 uninstall: -
protocols/skype/Makefile
r570f183 ra85a8ab 6 6 DATE := $(shell date +%Y-%m-%d) 7 7 INSTALL = install 8 ASCIIDOC = yes9 8 10 ifeq ($(ASCIIDOC),yes) 9 10 ifdef ASCIIDOC 11 11 MANPAGES = skyped.1 12 12 else … … 29 29 30 30 install-doc: doc 31 if eq ($(ASCIIDOC),yes)31 ifdef ASCIIDOC 32 32 $(INSTALL) -d $(DESTDIR)$(MANDIR)/man1 33 33 $(INSTALL) -m644 $(MANPAGES) $(DESTDIR)$(MANDIR)/man1
Note: See TracChangeset
for help on using the changeset viewer.