summaryrefslogtreecommitdiff
path: root/tests/rmdir
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/rmdir
parent1b6c640f464fe3bf8b2923d5be4e6d30460794f5 (diff)
downloadcoreutils-07d20c7e44600338ddbb6d399a5873e859290d45.tar.xz
.
Diffstat (limited to 'tests/rmdir')
-rw-r--r--tests/rmdir/Makefile.in11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/rmdir/Makefile.in b/tests/rmdir/Makefile.in
index 8f83e4862..ba1c273d3 100644
--- a/tests/rmdir/Makefile.in
+++ b/tests/rmdir/Makefile.in
@@ -110,6 +110,7 @@ TESTS_ENVIRONMENT = \
PATH=../../src:$$PATH \
PROG=rmdir
+subdir = tests/rmdir
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../../config.h
CONFIG_CLEAN_FILES =
@@ -123,9 +124,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/rmdir/Makefile
+ cd $(top_srcdir) && $(AUTOMAKE) --gnits --include-deps tests/rmdir/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
@@ -135,19 +136,18 @@ TAGS:
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
-subdir = tests/rmdir
-
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; \
@@ -235,6 +235,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