cvs: /php4 makedist
| From: | Stig Bakken | Date: | Tue, 09 Nov 1999 16:57:57 +0000 |
| Subject: | cvs: /php4 makedist | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-6041@lists.php.net to get a copy of this message | ||
ssb Tue Nov 9 11:57:57 1999 EDT
Modified files:
/php4 makedist
Log:
Preserve the CVS versions of ltconfig/ltmain.sh during makedist.
#This is a temporary fix!
Index: php4/makedist
diff -u php4/makedist:1.10 php4/makedist:1.11
--- php4/makedist:1.10 Tue Nov 9 06:56:27 1999
+++ php4/makedist Tue Nov 9 11:57:26 1999
@@ -24,7 +24,7 @@
#
# Written by Stig Bakken <ssb@guardian.no> 1997-05-28.
#
-# $Id: makedist,v 1.10 1999/11/09 11:56:27 ssb Exp $
+# $Id: makedist,v 1.11 1999/11/09 16:57:26 ssb Exp $
#
PHPROOT=:pserver:cvsread@cvs.php.net:/repository
@@ -98,6 +98,10 @@
# remove CVS stuff...
find . \( \( -name CVS -type d \) -o -name .cvsignore \) -exec rm -rf {} \;
+# hide away our own ltconfig/ltmain so they won't be overwritten
+mv ltconfig ltconfig.php
+mv ltmain.sh ltmain.sh.php
+
# generate some files so people don't need bison, flex and autoconf
# to install
set -x
@@ -107,6 +111,10 @@
echo "/* Dummy File */" > ext/bcmath/number.c
echo "/* Dummy File */" > ext/bcmath/number.h
+
+# now restore our own ltconfig/ltmain.sh files
+mv ltconfig.php ltconfig
+mv ltmain.sh.php ltmain.sh
cd $MY_OLDPWD
$ECHO_N "makedist: making gzipped tar archive...$ECHO_C"