Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv9754
Modified Files:
Makefile
Log Message:
don't force build.h to be built at 'install' time, if it's already there leave
it alone
Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/Makefile,v
retrieving revision 1.164
retrieving revision 1.165
diff -u -d -r1.164 -r1.165
--- Makefile 6 Jun 2005 03:04:58 -0000 1.164
+++ Makefile 6 Jun 2005 18:29:57 -0000 1.165
@@ -3,9 +3,9 @@
#
# Top level Makefile
#
-# Copyright (C) 1999, Mark Spencer
+# Copyright (C) 1999-2005, Mark Spencer
#
-# Mark Spencer <[EMAIL PROTECTED]>
+# Mark Spencer <[EMAIL PROTECTED]>
#
# This program is free software, distributed under the terms of
# the GNU General Public License
@@ -401,13 +401,19 @@
fi
rm -f [EMAIL PROTECTED]
-include/asterisk/build.h: FORCE
+
+include/asterisk/build.h:
./make_build_h > [EMAIL PROTECTED]
if ! cmp -s [EMAIL PROTECTED] $@ ; then \
mv [EMAIL PROTECTED] $@ ; \
fi
rm -f [EMAIL PROTECTED]
+# only force 'build.h' to be made for a non-'install' run
+ifeq ($(findstring install,$(MAKECMDGOALS)),)
+include/asterisk/build.h: FORCE
+endif
+
include/asterisk/version.h: FORCE
./make_version_h > [EMAIL PROTECTED]
if ! cmp -s [EMAIL PROTECTED] $@ ; then \
_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs