Skip to content

Commit

Permalink
Preserve the CVS versions of ltconfig/ltmain.sh during makedist.
Browse files Browse the repository at this point in the history
#This is a temporary fix!
  • Loading branch information
stigsb committed Nov 9, 1999
1 parent 5c28619 commit 2204607
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions makedist
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ echo ""
# 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
Expand All @@ -108,6 +112,10 @@ set -x
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"
tar czf $ARCHIVE $PKG-$VER || exit 8
Expand Down

0 comments on commit 2204607

Please sign in to comment.