diff options
author | Jim Meyering <jim@meyering.net> | 2002-01-18 23:56:32 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-01-18 23:56:32 +0000 |
commit | 8e7e29d1de6823fc4f4e98c873c58d904a1e7b36 (patch) | |
tree | 8d002ab61ab4b4db9c452e3cdb194ccb3f142bd9 /tests/misc/Makefile.in | |
parent | 96efa91b23b142fa1d1f49a2ccfd97f166a590a3 (diff) | |
download | coreutils-8e7e29d1de6823fc4f4e98c873c58d904a1e7b36.tar.xz |
.
Diffstat (limited to 'tests/misc/Makefile.in')
-rw-r--r-- | tests/misc/Makefile.in | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/misc/Makefile.in b/tests/misc/Makefile.in index 872257178..9651a0ccc 100644 --- a/tests/misc/Makefile.in +++ b/tests/misc/Makefile.in @@ -120,10 +120,11 @@ TESTS_ENVIRONMENT = \ top_srcdir=$(top_srcdir) \ srcdir=$(srcdir) \ PERL="@PERL@" \ - PATH=`pwd`/../../src:$$PATH + PATH=`pwd`/../../src:$$PATH \ + PROG=$$tst -TESTS = head-c csplit +TESTS = sort head-c csplit subdir = tests/misc mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h @@ -207,10 +208,13 @@ distdir: $(DISTFILES) if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - $(mkinstalldirs) "$(distdir)/$$dir"; \ + dir="/$$dir"; \ + $(mkinstalldirs) "$(distdir)$$dir"; \ + else \ + dir=''; \ fi; \ if test -d $$d/$$file; then \ - cp -pR $$d/$$file $(distdir) \ + cp -pR $$d/$$file $(distdir)$$dir \ || exit 1; \ else \ test -f $(distdir)/$$file \ |