summaryrefslogtreecommitdiff
path: root/tests/mkdir
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-11-11 13:20:24 +0000
committerJim Meyering <jim@meyering.net>1999-11-11 13:20:24 +0000
commit07d20c7e44600338ddbb6d399a5873e859290d45 (patch)
tree1491c6482f4d302b7f7403875d5b2c921389adbd /tests/mkdir
parent1b6c640f464fe3bf8b2923d5be4e6d30460794f5 (diff)
downloadcoreutils-07d20c7e44600338ddbb6d399a5873e859290d45.tar.xz
.
Diffstat (limited to 'tests/mkdir')
-rw-r--r--tests/mkdir/Makefile.in11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/mkdir/Makefile.in b/tests/mkdir/Makefile.in
index f43609e53..fc0540bcc 100644
--- a/tests/mkdir/Makefile.in
+++ b/tests/mkdir/Makefile.in
@@ -104,6 +104,7 @@ AUTOMAKE_OPTIONS = 1.1 gnits
TESTS = p-1 p-2
EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = MKDIR=../../src/mkdir
+subdir = tests/mkdir
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../../config.h
CONFIG_CLEAN_FILES =
@@ -117,9 +118,9 @@ GZIP_ENV = --best
all: all-redirect
.SUFFIXES:
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
- cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/mkdir/Makefile
+ cd $(top_srcdir) && $(AUTOMAKE) --gnits --include-deps tests/mkdir/Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
@@ -129,19 +130,18 @@ TAGS:
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
-subdir = tests/mkdir
-
distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
- cp -pr $$d/$$file $(distdir)/$$file; \
+ cp -pR $$d/$$file $(distdir); \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|| cp -p $$d/$$file $(distdir)/$$file || :; \
fi; \
done
+
check-TESTS: $(TESTS)
@failed=0; all=0; xfail=0; xpass=0; \
srcdir=$(srcdir); export srcdir; \
@@ -229,6 +229,7 @@ distclean-generic:
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
maintainer-clean-generic:
+ -rm -f Makefile.in
mostlyclean-am: mostlyclean-generic
mostlyclean: mostlyclean-am