Skip to content

Commit

Permalink
Fix #77035: The phpize and ./configure create redundant .deps file
Browse files Browse the repository at this point in the history
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
779c11a.

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.
  • Loading branch information
petk committed Oct 18, 2018
1 parent fda0612 commit 447b41f
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
*.tar.xz.asc
.FBCIndex
.FBCLockFolder
.deps
.libs
phpt.*
core
Expand Down
1 change: 0 additions & 1 deletion ext/ext_skel
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ eof

$ECHO_N " .gitignore$ECHO_C"
cat >.gitignore <<eof
.deps
*.lo
*.la
.libs
Expand Down
2 changes: 1 addition & 1 deletion scripts/phpize.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
1 change: 0 additions & 1 deletion scripts/phpize.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 447b41f

Please sign in to comment.