comparison make-dist @ 1942:b403b27bc31c

* make-dist: Only copy gmalloc.c if we couldn't link it. Don't try to copy man/{README,Makefile} unless they actually exist.
author Jim Blandy <jimb@redhat.com>
date Tue, 23 Feb 1993 14:13:27 +0000
parents 3be68763709f
children 05297a5a8238
comparison
equal deleted inserted replaced
1941:139fbc92c196 1942:b403b27bc31c
151 ### config.h.in, paths.h.in, or Makefile.in. 151 ### config.h.in, paths.h.in, or Makefile.in.
152 (cd src 152 (cd src
153 echo " (If we can't link gmalloc.c, that's okay.)" 153 echo " (If we can't link gmalloc.c, that's okay.)"
154 ln [a-zA-Z]*.c ../${tempdir}/src 154 ln [a-zA-Z]*.c ../${tempdir}/src
155 ## Might be a symlink to a file on another filesystem. 155 ## Might be a symlink to a file on another filesystem.
156 cp gmalloc.c ../${tempdir}/src 156 test -f ../${tempdir}/src || cp gmalloc.c ../${tempdir}/src
157 ln [a-zA-Z]*.h ../${tempdir}/src 157 ln [a-zA-Z]*.h ../${tempdir}/src
158 ln [a-zA-Z]*.s ../${tempdir}/src 158 ln [a-zA-Z]*.s ../${tempdir}/src
159 ln README Makefile.in ymakefile ChangeLog config.h.in paths.h.in \ 159 ln README Makefile.in ymakefile ChangeLog config.h.in paths.h.in \
160 ../${tempdir}/src 160 ../${tempdir}/src
161 ln .gdbinit .dbxinit ../${tempdir}/src 161 ln .gdbinit .dbxinit ../${tempdir}/src
209 209
210 echo "Making links to \`man'." 210 echo "Making links to \`man'."
211 (cd man 211 (cd man
212 ln *.tex *.texinfo *.texi *.aux *.cps *.fns *.kys *.vrs ../${tempdir}/man 212 ln *.tex *.texinfo *.texi *.aux *.cps *.fns *.kys *.vrs ../${tempdir}/man
213 ln *.c ../${tempdir}/man 213 ln *.c ../${tempdir}/man
214 ln ChangeLog Makefile README split-man ../${tempdir}/man) 214 test -f README && ln README ../${tempdir}/man
215 test -f Makefile && ln Makefile ../${tempdir}/man
216 ln ChangeLog split-man ../${tempdir}/man)
215 217
216 echo "Making links to \`shortnames'." 218 echo "Making links to \`shortnames'."
217 (cd shortnames 219 (cd shortnames
218 ln *.c ../${tempdir}/shortnames 220 ln *.c ../${tempdir}/shortnames
219 ln Makefile reserved special ../${tempdir}/shortnames) 221 ln Makefile reserved special ../${tempdir}/shortnames)