2000-03-19 Tom Tromey <tromey@cygnus.com>
+ * automake.in (handle_dist_worker): Exit if `cp' fails. Fixes
+ install2.test.
+
* tags.am: Don't reference $$here. Report from Sven Verdoolaege.
2000-03-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
# since this fails if destination directory
# already exists. Also, use `-R' and not `-r'.
# `-r' is almost always incorrect.
- . "\t cp -pR \$\$d/\$\$file \$(distdir); \\\n"
+ . "\t cp -pR \$\$d/\$\$file \$(distdir) \\\n"
+ . "\t || exit 1; \\\n"
. "\t else \\\n"
. "\t test -f \$(distdir)/\$\$file \\\n"
- . "\t || cp -p \$\$d/\$\$file \$(distdir)/\$\$file || :; \\\n"
+ . "\t || cp -p \$\$d/\$\$file \$(distdir)/\$\$file \\\n"
+ . "\t || exit 1; \\\n"
. "\t fi; \\\n"
. "\tdone\n");