summaryrefslogtreecommitdiff
path: root/tests/ls/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ls/Makefile.in')
-rw-r--r--tests/ls/Makefile.in11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/ls/Makefile.in b/tests/ls/Makefile.in
index 6a4b2ff3d..8abaeda33 100644
--- a/tests/ls/Makefile.in
+++ b/tests/ls/Makefile.in
@@ -104,6 +104,7 @@ AUTOMAKE_OPTIONS = 1.2 gnits
TESTS = rt-1 time-1
EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = LS=../../src/ls TOUCH=../../src/touch
+subdir = tests/ls
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/ls/Makefile
+ cd $(top_srcdir) && $(AUTOMAKE) --gnits --include-deps tests/ls/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/ls
-
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