summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
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; \