From 8e7e29d1de6823fc4f4e98c873c58d904a1e7b36 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 18 Jan 2002 23:56:32 +0000 Subject: . --- tests/md5sum/Makefile.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tests/md5sum') diff --git a/tests/md5sum/Makefile.in b/tests/md5sum/Makefile.in index b22a9d375..df89cf0c1 100644 --- a/tests/md5sum/Makefile.in +++ b/tests/md5sum/Makefile.in @@ -208,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 \ -- cgit v1.2.3-54-g00ecf