Changeset 4b53c65 for Makefile


Ignore:
Timestamp:
2011-12-19T13:39:10Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
f9789d4
Parents:
36533bf
Message:

Update help text for "set oauth" with what's supported now. Also adding a
"make testhelp" target to easily see if the current helpfile is loadable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r36533bf r4b53c65  
    2727subdirobjs = $(foreach dir,$(subdirs),$(dir)/$(dir).o)
    2828
    29 all: $(OUTFILE) $(OTR_PI) $(SKYPE_PI) systemd
     29all: $(OUTFILE) $(OTR_PI) $(SKYPE_PI) doc systemd
     30ifdef SKYPE_PI
     31        $(MAKE) -C protocols/skype doc
     32endif
     33
     34doc:
    3035        $(MAKE) -C doc
    31 ifdef SKYPE_PI
    32         $(MAKE) -C protocols/skype doc
    33 endif
    3436
    3537uninstall: uninstall-bin uninstall-doc
     
    4345.PHONY:   install   install-bin   install-etc   install-doc install-plugins install-systemd \
    4446        uninstall uninstall-bin uninstall-etc uninstall-doc \
    45         all clean distclean tar $(subdirs)
     47        all clean distclean tar $(subdirs) doc
    4648
    4749Makefile.settings:
     
    189191        @echo Hello World
    190192
     193# Check if we can load the helpfile. (This fails if some article is >1KB.)
     194# If print returns a NULL pointer, the file is unusable.
     195testhelp: doc
     196        gdb --eval-command='b main' --eval-command='r' \
     197            --eval-command='print help_init(&global->helpfile, "doc/user-guide/help.txt")' \
     198            $(OUTFILE) < /dev/null
     199
    191200-include .depend/*.d
    192201# DO NOT DELETE
Note: See TracChangeset for help on using the changeset viewer.