]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
authorTom Tromey <tromey@redhat.com>
Mon, 11 Jan 1999 14:00:57 +0000 (14:00 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 11 Jan 1999 14:00:57 +0000 (14:00 +0000)
* automake.in (handle_dist_worker): avoid failure in `make dist'
if last file is a builddir-only file

ChangeLog
automake.in

index 96be560f911ce499214f8f1293f67997f0682e7d..8f17266d326c0c70addf42b429638d876d8c7ad9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-01-11  Alexandre Oliva  <oliva@dcc.unicamp.br>
+
+       * automake.in (handle_dist_worker): avoid failure in `make dist'
+       if last file is a builddir-only file
+
 1999-01-11  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
        * missing (autoheader): `s' was missing from sed script; grr
index 07798643d88f3dade7ba1525b92479ad533fdacb..c3edae8b4351a247e6ae323656982daaf4f211ad 100755 (executable)
@@ -2369,7 +2369,7 @@ sub handle_dist_worker
                      . "\t  else \\\n"
                      . "\t    test -f \$(distdir)/\$\$file \\\n"
                      . "\t    || ln \$\$d/\$\$file \$(distdir)/\$\$file 2> /dev/null \\\n"
-                     . "\t    || cp -p \$\$d/\$\$file \$(distdir)/\$\$file; \\\n"
+                     . "\t    || cp -p \$\$d/\$\$file \$(distdir)/\$\$file || :; \\\n"
                      . "\t  fi; \\\n"
                      . "\tdone\n");