]> granicus.if.org Git - php/commitdiff
Remove phpextdist
authorPeter Kokot <peterkokot@gmail.com>
Sat, 4 May 2019 15:57:54 +0000 (17:57 +0200)
committerPeter Kokot <peterkokot@gmail.com>
Sun, 5 May 2019 22:15:20 +0000 (00:15 +0200)
This script hasn't been used since using PEAR as a package manager for
PHP extensions since it is using Makefile.in as an indicator if the
current directory is extension. Instead of this script extensions can
be packaged differently and more properly with either current PEAR
or with some other manual method.

scripts/dev/phpextdist [deleted file]

diff --git a/scripts/dev/phpextdist b/scripts/dev/phpextdist
deleted file mode 100755 (executable)
index 316a8bd..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#! /bin/sh
-if test $# -lt 2; then
-       echo "usage: phpextdist <extension> <version>";
-       exit 1
-fi
-
-phpize=`php-config --prefix`/bin/phpize
-distname="$1-$2"
-
-if test ! -f Makefile.in || test ! -f config.m4; then
-       echo "Did not find required files in current directory"
-       exit 1
-fi
-
-rm -rf modules *.lo *.o *.la config.status config.cache \
-config.log libtool php_config.h Makefile
-
-myname=`basename \`pwd\``
-cd ..
-cp -rp $myname $distname
-cd $distname
-$phpize
-cd ..
-tar cf $distname.tar $distname
-rm -rf $distname $distname.tar.*
-gzip --best $distname.tar
-mv $distname.tar.gz $myname