]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
(dist): Bug fix.
authorTom Tromey <tromey@redhat.com>
Thu, 16 Nov 1995 08:24:16 +0000 (08:24 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 16 Nov 1995 08:24:16 +0000 (08:24 +0000)
dist-subd-top.am
dist.am

index f354b396e39ca780fc982593353f0ccc564a9bfd..c9b74e022487b036a02b03aee43fc1f3b03e972d 100644 (file)
@@ -3,7 +3,7 @@ dist: $(DIST_FILES)
        rm -rf $(distdir)
        mkdir $(distdir)
        @for file in $(DIST_FILES); do          \
-         test -f $$file || {                   \
+         test -f $(distdir)/$$file || {        \
            echo linking $$file;                \
            ln $(srcdir)/$$file $(distdir)/$$file; \
          } || {                                \
diff --git a/dist.am b/dist.am
index 6c7b097a7c9d6ac6948b612d3f33fa94d17bc729..0872f5c70e2c4223f7e051cc31e8af6fdf35b823 100644 (file)
--- a/dist.am
+++ b/dist.am
@@ -3,7 +3,7 @@ dist: $(DIST_FILES)
        rm -rf $(distdir)
        mkdir $(distdir)
        @for file in $(DIST_FILES); do          \
-         test -f $$file || {                   \
+         test -f $(distdir)/$$file || {        \
            echo linking $$file;                \
            ln $(srcdir)/$$file $(distdir)/$$file; \
          } || {                                \