com php-src: Fix #77035: The phpize and ./configure create redundant .deps file: .gitignore ext/ext_skel scripts/phpize.in scripts /phpize.m4
| From: | Peter Kokot | Date: | Thu, 18 Oct 2018 22:02:09 +0000 |
| Subject: | com php-src: Fix #77035: The phpize and ./configure create redundant .deps file: .gitignore ext/ext_skel scripts/phpize.in scripts /phpize.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-103507@lists.php.net to get a copy of this message | ||
Commit: 447b41f6bb1e9a5bdeac411277e21a55207123b0
Author: Peter Kokot <peterkokot@gmail.com> Fri, 19 Oct 2018 00:02:09 +0200
Parents: fda06127fa71637df7913e06fc8124448c934fdc
Branches: PHP-7.1 PHP-7.2 PHP-7.3 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=447b41f6bb1e9a5bdeac411277e21a55207123b0
Log:
Fix #77035: The phpize and ./configure create redundant .deps file
The
.deps file(s) was once used by Automake and created to write
dependencies to it. The file creation has been removed via the commit
779c11af21cf8a627b8f2f2edef9e9073c76ed94.
The phpize and ./configure script create a redundant .deps file in a
PECL extension directory which might cause confusions why is it used.
Today it is no longer relevant so this redundant artefact can be
removed in the phpize configure script.
Bugs:
https://bugs.php.net/77035
Changed paths:
M .gitignore
M ext/ext_skel
M scripts/phpize.in
M scripts/phpize.m4
Diff:
diff --git a/..gitignore b/.gitignore
index 2e95e25..a9e2e51 100644
--- a/.gitignore
+++ b/.gitignore
@@ -26,7 +26,6 @@
*.tar.xz.asc
.FBCIndex
.FBCLockFolder
-.deps
.libs
phpt.*
core
diff --git a/ext/ext_skel b/ext/ext_skel
index 63563e7..88b10e9 100755
--- a/ext/ext_skel
+++ b/ext/ext_skel
@@ -189,7 +189,6 @@ eof
$ECHO_N " .gitignore$ECHO_C"
cat >.gitignore <<eof
-.deps
*.lo
*.la
.libs
diff --git a/scripts/phpize.in b/scripts/phpize.in
index 4000183..99250da 100644
--- a/scripts/phpize.in
+++ b/scripts/phpize.in
@@ -11,7 +11,7 @@ SED="@SED@"
FILES_BUILD="mkdep.awk scan_makefile_in.awk shtool libtool.m4 ax_check_compile_flag.m4"
FILES="acinclude.m4 Makefile.global config.sub config.guess ltmain.sh run-tests*.php"
-CLEAN_FILES="$FILES *.o *..lo *.la .deps .libs/ build/ modules/ install-sh \
+CLEAN_FILES="$FILES *.o *.lo *.la .libs/ build/ modules/ install-sh \
mkinstalldirs missing config.nice config.sub config.guess configure configure.in \
aclocal.m4 config.h config.h.in conftest* ltmain.sh libtool config.cache autom4te.cache/ \
config.log config.status Makefile Makefile.fragments Makefile.objects confdefs.h \
diff --git a/scripts/phpize.m4 b/scripts/phpize..m4
index b354596..1cf38a2 100644
--- a/scripts/phpize.m4
+++ b/scripts/phpize.m4
@@ -195,7 +195,6 @@ PHP_GEN_BUILD_DIRS
PHP_GEN_GLOBAL_MAKEFILE
test -d modules || $php_shtool mkdir modules
-touch .deps
AC_CONFIG_HEADER(config.h)