fix the problem where defaults.h is missing after a forced make clean in a
authorRussell Bryant <russell@russellbryant.com>
Thu, 1 Jun 2006 00:09:18 +0000 (00:09 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 1 Jun 2006 00:09:18 +0000 (00:09 +0000)
different way that actually works

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31225 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index 540d7a5..8c0f330 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -371,7 +371,7 @@ _all: all
        @echo " +               make install                +"  
        @echo " +-------------------------------------------+"  
 
-all: cleantest defaults.h config.status menuselect.makeopts depend asterisk subdirs
+all: cleantest config.status menuselect.makeopts depend asterisk subdirs
 
 config.status: configure
        @CFLAGS="" ./configure
@@ -907,6 +907,7 @@ env:
 cleantest:
        @if cmp -s .cleancount .lastclean ; then echo ; else \
                $(MAKE) clean; cp -f .cleancount .lastclean;\
+               $(MAKE) defaults.h;\
        fi
 
 _uninstall: