[Gnucash-changes] r12350 - gnucash/trunk - Add 'Makefile' as a dependency for targets that are generated

Chris Shoemaker chris at cvs.gnucash.org
Fri Jan 13 22:56:54 EST 2006


Author: chris
Date: 2006-01-13 22:56:53 -0500 (Fri, 13 Jan 2006)
New Revision: 12350
Trac: http://svn.gnucash.org/trac/changeset/12350

Modified:
   gnucash/trunk/configure.in
   gnucash/trunk/doc/Makefile.am
   gnucash/trunk/lib/libc/Makefile.am
   gnucash/trunk/lib/libqof/backend/file/Makefile.am
   gnucash/trunk/src/bin/Makefile.am
   gnucash/trunk/src/bin/overrides/Makefile.am
   gnucash/trunk/src/gnome-utils/Makefile.am
   gnucash/trunk/src/gnome/Makefile.am
   gnucash/trunk/src/quotes/Makefile.am
Log:
Add 'Makefile' as a dependency for targets that are generated
from scriptlets in Makefile.  That way, if the generating scriptlet is
changed, (or the Makefile is regenerated) the target will also be remade.


Modified: gnucash/trunk/configure.in
===================================================================
--- gnucash/trunk/configure.in	2006-01-14 02:01:30 UTC (rev 12349)
+++ gnucash/trunk/configure.in	2006-01-14 03:56:53 UTC (rev 12350)
@@ -2058,7 +2058,6 @@
 
 chmod u+x ${srcdir}/src/gnc-test-env
 chmod u+x ${srcdir}/src/bin/generate-gnc-script
-chmod u+x ${srcdir}/src/bin/overrides/gnucash
 chmod u+x ${srcdir}/src/bin/overrides/gnucash-run-script
 chmod u+x ${srcdir}/src/bin/overrides/gnucash-make-guids
 

Modified: gnucash/trunk/doc/Makefile.am
===================================================================
--- gnucash/trunk/doc/Makefile.am	2006-01-14 02:01:30 UTC (rev 12349)
+++ gnucash/trunk/doc/Makefile.am	2006-01-14 03:56:53 UTC (rev 12350)
@@ -37,7 +37,7 @@
 ## brackets here, instead of the usual @... at .  This prevents autoconf
 ## from substituting the values directly into the left-hand sides of
 ## the sed substitutions.
-gnc-prices.1: gnc-prices.1.in
+gnc-prices.1: gnc-prices.1.in Makefile
 	rm -f $@.tmp
 	${SED} < $< > $@.tmp \
             -e 's:@-VERSION-@:${VERSION}:g' \
@@ -45,7 +45,7 @@
 	chmod +x $@.tmp
 	mv $@.tmp $@
 
-gnucash.1: gnucash.1.in
+gnucash.1: gnucash.1.in Makefile
 	rm -f $@.tmp
 	${SED} < $< > $@.tmp \
             -e 's:@-VERSION-@:${VERSION}:g' \
@@ -53,7 +53,7 @@
 	chmod +x $@.tmp
 	mv $@.tmp $@
 
-tip_of_the_day.list: tip_of_the_day.list.in
+tip_of_the_day.list: tip_of_the_day.list.in Makefile
 	gcc -E -P -x c -D'N_(x)=x' -o $@.tmp $<
 	cat -s $@.tmp | ${SED} -e 's/^ *\"\(.*\)\" *$$/\1/m' > $@
 	rm -f $@.tmp

Modified: gnucash/trunk/lib/libc/Makefile.am
===================================================================
--- gnucash/trunk/lib/libc/Makefile.am	2006-01-14 02:01:30 UTC (rev 12349)
+++ gnucash/trunk/lib/libc/Makefile.am	2006-01-14 03:56:53 UTC (rev 12350)
@@ -21,6 +21,6 @@
 # should be removed.
 EXTRA_DIST = scm_strptime.c
 
-print_libobjs:
+print_libobjs: Makefile
 	@echo "LIBOBJS = $(LIBOBJS)"
 	@echo "LTLIBOBJS = $(LTLIBOBJS)"

Modified: gnucash/trunk/lib/libqof/backend/file/Makefile.am
===================================================================
--- gnucash/trunk/lib/libqof/backend/file/Makefile.am	2006-01-14 02:01:30 UTC (rev 12349)
+++ gnucash/trunk/lib/libqof/backend/file/Makefile.am	2006-01-14 03:56:53 UTC (rev 12350)
@@ -31,7 +31,7 @@
   qof-backend-qsf.h \
   qsf-xml.h
 
-qsf-dir.h: qsf-dir.h.in
+qsf-dir.h: qsf-dir.h.in Makefile
 	rm -f $@.tmp
 	sed < $< > $@.tmp \
 	        -e 's:@-QSF_SCHEMA_DIR-@:${QOF_XML_DIR}:g'

Modified: gnucash/trunk/src/bin/Makefile.am
===================================================================
--- gnucash/trunk/src/bin/Makefile.am	2006-01-14 02:01:30 UTC (rev 12349)
+++ gnucash/trunk/src/bin/Makefile.am	2006-01-14 03:56:53 UTC (rev 12350)
@@ -9,7 +9,7 @@
 gnucash_bin_LDADD = ${GUILE_LIBS} ${GLIB_LIBS} ${GNOME_LIBS} ${GTK_LIBS} \
 ${top_srcdir}/src/gnc-module/libgncmodule.la
 
-gnucash: gnucash.in ${top_builddir}/config.status
+gnucash: gnucash.in ${top_builddir}/config.status Makefile
 	rm -f $@.tmp
 	sed < $< > $@.tmp \
 	    -e 's:@-BIN_DIR-@:${bindir}:g' \
@@ -25,7 +25,7 @@
 
 BUILT_SOURCES = i18n.h
 
-i18n.h: i18n.h.in ${top_builddir}/config.status
+i18n.h: i18n.h.in ${top_builddir}/config.status Makefile
 	rm -f $@.tmp
 	sed < $< > $@.tmp \
             -e 's:@-PACKAGE-@:${PACKAGE}:g' \
@@ -33,7 +33,7 @@
 	mv $@.tmp $@
 
 
-gnucash-valgrind: gnucash-valgrind.in ${top_builddir}/config.status
+gnucash-valgrind: gnucash-valgrind.in ${top_builddir}/config.status Makefile
 	rm -f $@.tmp
 	sed < $< > $@.tmp \
 	    -e 's:@-BIN_DIR-@:${bindir}:g' \
@@ -85,7 +85,8 @@
 ## brackets here, instead of the usual @... at .  This prevents autoconf
 ## from substituting the values directly into the left-hand sides of
 ## the sed substitutions.
-update-gnucash-gconf: update-gnucash-gconf.in ${top_builddir}/config.status
+update-gnucash-gconf: update-gnucash-gconf.in \
+		${top_builddir}/config.status Makefile
 	rm -f $@.tmp
 	sed < $< > $@.tmp \
 	    -e 's:@-GCONF_SCHEMA_FILE_DIR-@:${GCONF_SCHEMA_FILE_DIR}:g'

Modified: gnucash/trunk/src/bin/overrides/Makefile.am
===================================================================
--- gnucash/trunk/src/bin/overrides/Makefile.am	2006-01-14 02:01:30 UTC (rev 12349)
+++ gnucash/trunk/src/bin/overrides/Makefile.am	2006-01-14 03:56:53 UTC (rev 12350)
@@ -23,7 +23,7 @@
 ## from substituting the values directly into the left-hand sides of
 ## the sed substitutions.  *sigh*
 
-guile: guile.in ${top_builddir}/config.status
+guile: guile.in ${top_builddir}/config.status Makefile
 	rm -f $@.tmp
 	sed < $< > $@.tmp \
 	    -e 's:@-GUILE-@:${GUILE}:'
@@ -31,7 +31,7 @@
 	chmod u+x $@
 CLEANFILES = guile
 
-gnucash-env: gnucash-env.in ${top_builddir}/config.status
+gnucash-env: gnucash-env.in ${top_builddir}/config.status Makefile
 	rm -f $@.tmp
 	sed < $< > $@.tmp \
 	    -e 's:@-G_WRAP_MODULE_DIR-@:${G_WRAP_MODULE_DIR}:g' \
@@ -46,7 +46,7 @@
 	chmod u+x $@
 CLEANFILES += gnucash-env
 
-gnucash-build-env: gnucash-build-env.in ${top_builddir}/config.status
+gnucash-build-env: gnucash-build-env.in ${top_builddir}/config.status Makefile
 	rm -f $@.tmp
 	sed < $< > $@.tmp \
             -e 's:@-GNC_TEST_SRFI_LOAD_CMD-@:@GNC_TEST_SRFI_LOAD_CMD@:g' \

Modified: gnucash/trunk/src/gnome/Makefile.am
===================================================================
--- gnucash/trunk/src/gnome/Makefile.am	2006-01-14 02:01:30 UTC (rev 12349)
+++ gnucash/trunk/src/gnome/Makefile.am	2006-01-14 03:56:53 UTC (rev 12350)
@@ -162,7 +162,7 @@
 ## brackets here, instead of the usual @... at .  This prevents autoconf
 ## from substituting the values directly into the left-hand sides of
 ## the sed substitutions.
-gnucash.keys: gnucash.keys.in ${top_builddir}/config.status
+gnucash.keys: gnucash.keys.in ${top_builddir}/config.status Makefile
 	rm -f $@.tmp
 	sed < $< > $@.tmp \
             -e 's:@-icondir-@:${appicondir}:g'
@@ -188,7 +188,7 @@
 	touch .scm-links
 
 gw-gnc.scm gw-gnc.h gw-gnc.c gw-gnc.html: \
-  gw-gnc-spec.scm .scm-links ${top_builddir}/config.status
+  gw-gnc-spec.scm .scm-links ${top_builddir}/config.status Makefile
 	FLAVOR=gnome $(GUILE) -c \
           "(set! %load-path (cons \"${G_WRAP_MODULE_DIR}\" %load-path)) \
            (set! %load-path (cons \"../engine\" %load-path)) \

Modified: gnucash/trunk/src/gnome-utils/Makefile.am
===================================================================
--- gnucash/trunk/src/gnome-utils/Makefile.am	2006-01-14 02:01:30 UTC (rev 12349)
+++ gnucash/trunk/src/gnome-utils/Makefile.am	2006-01-14 03:56:53 UTC (rev 12350)
@@ -222,7 +222,7 @@
 ## brackets here, instead of the usual @... at .  This prevents autoconf
 ## from substituting the values directly into the left-hand sides of
 ## the sed substitutions.
-gnc-dir.h: gnc-dir.h.in ${top_builddir}/config.status
+gnc-dir.h: gnc-dir.h.in ${top_builddir}/config.status Makefile
 	rm -f $@.tmp
 	sed < $< > $@.tmp \
 	    -e 's:@-GNC_ACCOUNTS_DIR-@:${GNC_ACCOUNTS_DIR}:g' \
@@ -235,7 +235,7 @@
 	-cmp -s _gnc-version.h gnc-version.h || cp _gnc-version.h gnc-version.h
 	-rm -f _gnc-version.h
 
-_gnc-version.h: gnc-svninfo.h
+_gnc-version.h: gnc-svninfo.h Makefile
 	@echo "/* Autogenerated. Do not change. */"	 > _gnc-version.h
 	@echo "#ifndef GNC_VERSION_H"			>> _gnc-version.h
 	@echo "#define GNC_VERSION_H"			>> _gnc-version.h
@@ -257,7 +257,7 @@
 	-cmp -s _gnc-svninfo.h gnc-svninfo.h || cp _gnc-svninfo.h gnc-svninfo.h
 	-rm -f _gnc-svninfo.h
 
-_gnc-svninfo.h:
+_gnc-svninfo.h: Makefile
 	@s=${srcdir} ; \
 	if [ -h ${srcdir}/Makefile.am ] ; then \
 		d=`readlink $(srcdir)/Makefile.am` ; \
@@ -302,7 +302,7 @@
 	touch .scm-links
 
 gw-gnome-utils.scm gw-gnome-utils.c gw-gnome-utils.h: \
-  .scm-links gw-gnome-utils-spec.scm ${top_builddir}/config.status
+  .scm-links gw-gnome-utils-spec.scm ${top_builddir}/config.status Makefile
 	FLAVOR=gnome $(GUILE) -c \
 	 "(set! %load-path (cons \"${G_WRAP_MODULE_DIR}\" %load-path)) \
 	  (set! %load-path (cons \"${PWD}\" %load-path)) \

Modified: gnucash/trunk/src/quotes/Makefile.am
===================================================================
--- gnucash/trunk/src/quotes/Makefile.am	2006-01-14 02:01:30 UTC (rev 12349)
+++ gnucash/trunk/src/quotes/Makefile.am	2006-01-14 03:56:53 UTC (rev 12350)
@@ -17,7 +17,7 @@
 ## brackets here, instead of the usual @... at .  This prevents autoconf
 ## from substituting the values directly into the left-hand sides of
 ## the sed substitutions.
-finance-quote-helper: finance-quote-helper.in
+finance-quote-helper: finance-quote-helper.in Makefile
 	rm -f $@.tmp
 	sed < $< > $@.tmp \
             -e 's:@-PERL-@:${PERL}:g' \
@@ -25,7 +25,7 @@
 	chmod +x $@.tmp
 	mv $@.tmp $@
 
-finance-quote-check: finance-quote-check.in
+finance-quote-check: finance-quote-check.in Makefile
 	rm -f $@.tmp
 	sed < $< > $@.tmp \
             -e 's:@-PERL-@:${PERL}:g' \
@@ -33,7 +33,7 @@
 	chmod +x $@.tmp
 	mv $@.tmp $@
 
-update-finance-quote: update-finance-quote.in
+update-finance-quote: update-finance-quote.in Makefile
 	rm -f $@.tmp
 	sed < $< > $@.tmp \
             -e 's:@-PERL-@:${PERL}:g' \



More information about the gnucash-changes mailing list