[asterisk-commits] branch group/autoconf_and_menuselect r20261 - /team/group/autoconf_and_menuse...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Apr 14 22:04:56 MST 2006


Author: russell
Date: Sat Apr 15 00:04:55 2006
New Revision: 20261

URL: http://svn.digium.com/view/asterisk?rev=20261&view=rev
Log:
ensure that defaults.h gets regenerated if the makeopts file changes.  This is
needed if someone were to re-run configure specifying a different install
prefix (thanks, casper!)

Modified:
    team/group/autoconf_and_menuselect/Makefile

Modified: team/group/autoconf_and_menuselect/Makefile
URL: http://svn.digium.com/view/asterisk/team/group/autoconf_and_menuselect/Makefile?rev=20261&r1=20260&r2=20261&view=diff
==============================================================================
--- team/group/autoconf_and_menuselect/Makefile (original)
+++ team/group/autoconf_and_menuselect/Makefile Sat Apr 15 00:04:55 2006
@@ -503,7 +503,7 @@
 asterisk.txt: asterisk.sgml
 	docbook2txt asterisk.sgml
 
-defaults.h:
+defaults.h: makeopts
 	build_tools/make_defaults_h > $@.tmp
 	if cmp -s $@.tmp $@ ; then echo ; else \
 		mv $@.tmp $@ ; \
@@ -885,7 +885,7 @@
 depend: include/asterisk/version.h .depend defaults.h 
 	for x in $(SUBDIRS); do $(MAKE) -C $$x depend || exit 1 ; done
 
-.depend: include/asterisk/version.h
+.depend: include/asterisk/version.h defaults.h
 	build_tools/mkdep $(CFLAGS) $(wildcard *.c)
 
 .tags-depend:



More information about the asterisk-commits mailing list