(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 f354b39..c9b74e0 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 6c7b097..0872f5c 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; \
          } || {                                \