# HG changeset patch # User Jim Blandy # Date 730476807 0 # Node ID b403b27bc31cc1f722abbd37c74fb962df3102e9 # Parent 139fbc92c196d83f4023611ec5ad3538f3b24e71 * make-dist: Only copy gmalloc.c if we couldn't link it. Don't try to copy man/{README,Makefile} unless they actually exist. diff -r 139fbc92c196 -r b403b27bc31c make-dist --- a/make-dist Tue Feb 23 13:21:13 1993 +0000 +++ b/make-dist Tue Feb 23 14:13:27 1993 +0000 @@ -153,7 +153,7 @@ echo " (If we can't link gmalloc.c, that's okay.)" ln [a-zA-Z]*.c ../${tempdir}/src ## Might be a symlink to a file on another filesystem. - cp gmalloc.c ../${tempdir}/src + test -f ../${tempdir}/src || cp gmalloc.c ../${tempdir}/src ln [a-zA-Z]*.h ../${tempdir}/src ln [a-zA-Z]*.s ../${tempdir}/src ln README Makefile.in ymakefile ChangeLog config.h.in paths.h.in \ @@ -211,7 +211,9 @@ (cd man ln *.tex *.texinfo *.texi *.aux *.cps *.fns *.kys *.vrs ../${tempdir}/man ln *.c ../${tempdir}/man - ln ChangeLog Makefile README split-man ../${tempdir}/man) + test -f README && ln README ../${tempdir}/man + test -f Makefile && ln Makefile ../${tempdir}/man + ln ChangeLog split-man ../${tempdir}/man) echo "Making links to \`shortnames'." (cd shortnames