summaryrefslogtreecommitdiff
path: root/makedist
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>1999-11-04 09:52:44 +0000
committerStig Bakken <ssb@php.net>1999-11-04 09:52:44 +0000
commitaa3123e87bdb7ae8e6f4b587943796520c69ac2c (patch)
treef252ea3cd1a2d11513f25195d8991eeb9033468b /makedist
parentf2099fccfb1afa4031e561eb220e0ec1a301a30a (diff)
downloadphp-git-aa3123e87bdb7ae8e6f4b587943796520c69ac2c.tar.gz
# Updated to work with the new build system.
Diffstat (limited to 'makedist')
-rwxr-xr-xmakedist10
1 files changed, 8 insertions, 2 deletions
diff --git a/makedist b/makedist
index 42695182bf..6c9a393089 100755
--- a/makedist
+++ b/makedist
@@ -57,6 +57,12 @@ ARCHIVE=$MY_OLDPWD/$PKG-$VER.tar.gz
# temporary directory used to check out files from CVS
TMPDIR=$MY_OLDPWD/cvstmp-$PKG-$VER
+if test -d "$TMPDIR"; then
+ echo "Temporary directory $TMPDIR"
+ echo "already exists, rename or remove it and run makedist again."
+ exit 1
+fi
+
# version part of the CVS release tag
CVSVER=`echo $VER | sed -e 's/\./_/g'`
@@ -120,9 +126,9 @@ set +x
INC="$INC \
configuration-scanner.c \
configuration-parser.c configuration-parser.h \
-acconfig.h aclocal.m4 configure.in missing mkinstalldirs \
+acconfig.h aclocal.m4 missing mkinstalldirs \
ltconfig ltmain.sh config.sub config.guess php_config.h.in \
-configure"
+configure install-sh Makefile.in"
mkdir $PKG-$VER || exit 6