summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-01-30 22:32:13 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-01-30 22:32:13 +0000
commit607253c2d0064eec7d91189437d7a78016017f9d (patch)
tree205cb682b5d94748b7af21c57f8ae7d483dad10a
parent09f4a1c5e5acddeacb605ce2382fd027e6b50393 (diff)
downloadcurl-607253c2d0064eec7d91189437d7a78016017f9d.tar.gz
Truly make sure that the vc8 and vc9 makefiles that are generated get included
in the release archive - by using our .dist suffix trick.
-rwxr-xr-xmaketgz16
1 files changed, 8 insertions, 8 deletions
diff --git a/maketgz b/maketgz
index d3c57ac95..3ea9bcff7 100755
--- a/maketgz
+++ b/maketgz
@@ -1,5 +1,6 @@
#! /bin/sh
-# Script to build release-archives with
+# Script to build release-archives with. Note that this requires a checkout
+# from CVS and you should first run ./buildconf and build curl once.
#
#***************************************************************************
# _ _ ____ _
@@ -60,13 +61,12 @@ sed -e 's/^#define LIBCURL_VERSION .*/#define LIBCURL_VERSION "'$libversion'"/g'
# Replace version number in header file:
sed 's/#define CURL_VERSION .*/#define CURL_VERSION "'$curlversion'"/g' $CHEADER >$CHEADER.dist
-echo "generate VC8 makefiles"
-# Generate VC8 versions from the VC6 Makefile versions
-make -f Makefile.dist vc8
-
-echo "generate VC9 makefiles"
-# Generate VC9 versions from the VC6 Makefile versions
-make -f Makefile.dist vc9
+# Generate VC8 and VC9 versions from the VC6 Makefile versions
+for ver in vc8 vc9; do
+ make -f Makefile.dist $ver
+ mv src/Makefile.$ver src/Makefile.$ver.dist
+ mv lib/Makefile.$ver lib/Makefile.$ver.dist
+done
# Replace version number in plist file:
PLIST=lib/libcurl.plist