comparison Makefile @ 8850:538184c540a9

Add make target "configfiles" to automatically regenerate configuration files
author Thorsten Meyer <thorsten.meyier@gmx.de>
date Tue, 24 Feb 2009 01:46:37 -0500
parents 8b7e448d989c
children eb63fbe60fab
comparison
equal deleted inserted replaced
8849:8b7e448d989c 8850:538184c540a9
27 27
28 NO_DEP_TARGETS = clean mostlyclean distclean maintainer-clean 28 NO_DEP_TARGETS = clean mostlyclean distclean maintainer-clean
29 29
30 all: header-msg config-check 30 all: header-msg config-check
31 $(MAKE) -f octMakefile all 31 $(MAKE) -f octMakefile all
32
33 configfiles: FORCE
34 $(MAKE) -f octMakefile configfiles
32 35
33 $(TARGETS): FORCE 36 $(TARGETS): FORCE
34 $(MAKE) -f octMakefile $@ 37 $(MAKE) -f octMakefile $@
35 38
36 $(NO_DEP_TARGETS): FORCE 39 $(NO_DEP_TARGETS): FORCE
101 @echo " libcruft make all in subdirectory libcruft" 104 @echo " libcruft make all in subdirectory libcruft"
102 @echo " liboctave make all in subdirectory liboctave" 105 @echo " liboctave make all in subdirectory liboctave"
103 @echo " scripts make all in subdirectory scripts" 106 @echo " scripts make all in subdirectory scripts"
104 @echo " src make all in subdirectory src" 107 @echo " src make all in subdirectory src"
105 @echo "" 108 @echo ""
109 @echo " configfiles update the configuration files"
110 @echo ""
106 @echo " help print this message" 111 @echo " help print this message"
107 @echo "" 112 @echo ""
108 113
109 config-check: 114 config-check:
110 @if test -f octMakefile; then \ 115 @if test -f octMakefile; then \