summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-05-04 17:50:32 +0000
committerSascha Schumann <sas@php.net>2000-05-04 17:50:32 +0000
commit24abc76a93a94202146ca2898617eff4a5087d89 (patch)
tree7da6b21797c94025e05c7da159106c8838bd7491 /build
parent61b88ae8edcfd0aaa7ebef1b2c83702184cf3681 (diff)
downloadphp-git-24abc76a93a94202146ca2898617eff4a5087d89.tar.gz
`.deps' are sourced only by Makefiles created by fastgen.sh, so it makes
sense to create empty .deps there.
Diffstat (limited to 'build')
-rwxr-xr-xbuild/fastgen.sh4
-rw-r--r--build/rules.mk1
-rw-r--r--build/rules_pear.mk1
3 files changed, 3 insertions, 3 deletions
diff --git a/build/fastgen.sh b/build/fastgen.sh
index c8bf431e76..2f191e5d21 100755
--- a/build/fastgen.sh
+++ b/build/fastgen.sh
@@ -23,7 +23,7 @@
# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
##############################################################################
-# $Id: fastgen.sh,v 1.4 2000-05-04 16:08:10 sas Exp $
+# $Id: fastgen.sh,v 1.5 2000-05-04 17:50:32 sas Exp $
#
srcdir=$1
@@ -55,5 +55,7 @@ builddir = $top_builddir/$dir
VPATH = $top_srcdir/$dir
EOF
)| cat - $top_srcdir/$makefile.in > $makefile
+
+ test -z "$dir" || touch $dir/.deps
done
diff --git a/build/rules.mk b/build/rules.mk
index cc45f57b7e..ba2782d05a 100644
--- a/build/rules.mk
+++ b/build/rules.mk
@@ -78,7 +78,6 @@ distclean-recursive depend-recursive clean-recursive all-recursive install-recur
ok=yes; \
target="$$target-p"; \
fi; \
- if test ! -f $$i/.deps; then touch $$i/.deps; fi; \
(cd $$i && $(MAKE) $$target) || exit 1; \
done; \
if test "$$otarget" = "all" && test -z '$(targets)'; then ok=yes; fi; \
diff --git a/build/rules_pear.mk b/build/rules_pear.mk
index 476327eda8..b9be848db0 100644
--- a/build/rules_pear.mk
+++ b/build/rules_pear.mk
@@ -79,7 +79,6 @@ distclean-recursive depend-recursive clean-recursive all-recursive install-recur
ok=yes; \
target="$$target-p"; \
fi; \
- if test ! -f $$i/.deps; then touch $$i/.deps; fi; \
(cd $$i && $(MAKE) $$target) || exit 1; \
done; \
if test "$$otarget" = "all" && test -z '$(targets)'; then ok=yes; fi; \