aboutsummaryrefslogtreecommitdiffstats
path: root/make-dist
diff options
context:
space:
mode:
authorJim Blandy1993-04-08 09:32:50 +0000
committerJim Blandy1993-04-08 09:32:50 +0000
commitf395c83af3356d09b0beb7621fae87c25649c80b (patch)
treec48daf3f8e95f00347c968a3bf5b069580c80e96 /make-dist
parent542143d701e5dd09800bbe88498d626c9356c6fc (diff)
downloademacs-f395c83af3356d09b0beb7621fae87c25649c80b.tar.gz
emacs-f395c83af3356d09b0beb7621fae87c25649c80b.zip
* make-dist: It's oldXMenu/compile.com, not oldXMenu/compile.mms.
Don't try to make links to the RCS or Old subdirectories. Use the appropriate extension for the compression type in use. Create the tar file in the shell's initial default directory, not in ${tempparent}. Erase the whole ${tempparent} tree, not just ${tempdir}.
Diffstat (limited to 'make-dist')
-rwxr-xr-xmake-dist24
1 files changed, 14 insertions, 10 deletions
diff --git a/make-dist b/make-dist
index d80eaf10a99..6212cbf5c41 100755
--- a/make-dist
+++ b/make-dist
@@ -200,16 +200,16 @@ echo "Making links to \`oldXMenu'."
200(cd oldXMenu 200(cd oldXMenu
201 ln *.c *.h ../${tempdir}/oldXMenu 201 ln *.c *.h ../${tempdir}/oldXMenu
202 ln README Makefile Imakefile ChangeLog ../${tempdir}/oldXMenu 202 ln README Makefile Imakefile ChangeLog ../${tempdir}/oldXMenu
203 ln compile.mms descrip.mms ../${tempdir}/oldXMenu) 203 ln compile.com descrip.mms ../${tempdir}/oldXMenu)
204 204
205echo "Making links to \`etc'." 205echo "Making links to \`etc'."
206### Don't distribute = files, TAGS, DOC files, backups, autosaves, or tex litter. 206### Don't distribute = files, TAGS, DOC files, backups, autosaves, or
207### tex litter.
207(cd etc 208(cd etc
208 ln [0-9a-zA-Z]* ../${tempdir}/etc 209 ln `ls -d * | grep -v 'RCS' | grep -v 'Old'` ../${tempdir}/etc
209 cd ../${tempdir}/etc 210 cd ../${tempdir}/etc
210 rm -f DOC* *~ \#*\# *.dvi *.log *,v core 211 rm -f DOC* *~ \#*\# *.dvi *.log *,v =* core
211 rm -fr Old 212 rm -f TAGS)
212 rm -f =* TAGS)
213 213
214echo "Making links to \`cpp'." 214echo "Making links to \`cpp'."
215(cd cpp 215(cd cpp
@@ -279,15 +279,19 @@ if [ "${make_tar}" = yes ]; then
279 echo compress 279 echo compress
280 )` 280 )`
281 fi 281 fi
282 case "${default_gzip}" in
283 compress* ) gzip_extension=.Z ;;
284 * ) gzip_extension=.z ;;
285 esac
282 echo "Creating tar file." 286 echo "Creating tar file."
283 (cd ${tempparent} 287 (cd ${tempparent} ; tar cvf - ${emacsname} ) \
284 tar cvf - ${emacsname} | ${default_gzip} > ${emacsname}.tar.Z 288 | ${default_gzip} \
285 ) 289 > ${emacsname}.tar${gzip_extension}
286fi 290fi
287 291
288if [ "${clean_up}" = yes ]; then 292if [ "${clean_up}" = yes ]; then
289 echo "Cleaning up the staging directory." 293 echo "Cleaning up the staging directory."
290 rm -rf ${tempdir} 294 rm -rf ${tempparent}
291fi 295fi
292 296
293### make-dist ends here 297### make-dist ends here