make-dist 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562
  1. #!/bin/sh
  2. ### make-dist: create an Emacs distribution tar file from current srcdir
  3. ## Copyright (C) 1995, 1997-1998, 2000-2015 Free Software Foundation,
  4. ## Inc.
  5. ## This file is part of GNU Emacs.
  6. ## GNU Emacs is free software: you can redistribute it and/or modify
  7. ## it under the terms of the GNU General Public License as published by
  8. ## the Free Software Foundation, either version 3 of the License, or
  9. ## (at your option) any later version.
  10. ## GNU Emacs is distributed in the hope that it will be useful,
  11. ## but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. ## GNU General Public License for more details.
  14. ## You should have received a copy of the GNU General Public License
  15. ## along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
  16. ### Commentary:
  17. ## This basically creates a duplicate directory structure, and then
  18. ## hard links into it only those files that should be distributed.
  19. ## This means that if you add a file with an odd name, you should make
  20. ## sure that this script will include it.
  21. ### Code:
  22. progname="$0"
  23. ### Exit if a command fails.
  24. #set -e
  25. ### Print out each line we read, for debugging's sake.
  26. #set -v
  27. LANGUAGE=C
  28. LC_ALL=C
  29. LC_MESSAGES=
  30. LANG=
  31. export LANGUAGE LC_ALL LC_MESSAGES LANG
  32. ## Remove unnecessary restrictions on file access.
  33. umask 022
  34. update=yes
  35. check=yes
  36. clean_up=no
  37. make_tar=no
  38. default_gzip=gzip
  39. newer=""
  40. with_tests=no
  41. while [ $# -gt 0 ]; do
  42. case "$1" in
  43. ## This option tells make-dist to delete the staging directory
  44. ## when done. It is useless to use this unless you make a tar file.
  45. "--clean-up" )
  46. clean_up=yes
  47. ;;
  48. ## This option tells make-dist to make a tar file.
  49. "--tar" )
  50. make_tar=yes
  51. ;;
  52. ## This option tells make-dist not to recompile or do analogous things.
  53. "--no-update" )
  54. update=no
  55. ;;
  56. ## This option says don't check for bad file names, etc.
  57. "--no-check" )
  58. check=no
  59. ;;
  60. ## This option tells make-dist to make the distribution normally, then
  61. ## remove all files older than the given timestamp file. This is useful
  62. ## for creating incremental or patch distributions.
  63. "--newer")
  64. newer="$2"
  65. new_extension=".new"
  66. shift
  67. ;;
  68. ## This option tells make-dist to use `bzip2' instead of gzip.
  69. "--bzip2")
  70. default_gzip="bzip2"
  71. ;;
  72. ## Same with xz.
  73. "--xz")
  74. default_gzip="xz"
  75. ;;
  76. "--no-compress")
  77. default_gzip="cat"
  78. ;;
  79. "--snapshot")
  80. clean_up=yes
  81. make_tar=yes
  82. update=no
  83. check=no
  84. ;;
  85. ## Include the test/ directory.
  86. ## This option is mainly for the hydra build server.
  87. "--tests")
  88. with_tests=yes
  89. ;;
  90. "--help")
  91. echo "Usage: ${progname} [options]"
  92. echo ""
  93. echo " --bzip2 use bzip2 instead of gzip"
  94. echo " --clean-up delete staging directories when done"
  95. echo " --xz use xz instead of gzip"
  96. echo " --no-compress don't compress"
  97. echo " --newer=TIME don't include files older than TIME"
  98. echo " --no-check don't check for bad file names etc."
  99. echo " --no-update don't recompile or do analogous things"
  100. echo " --snapshot same as --clean-up --no-update --tar --no-check"
  101. echo " --tar make a tar file"
  102. echo " --tests include the test/ directory"
  103. echo ""
  104. exit 0
  105. ;;
  106. * )
  107. echo "${progname}: Unrecognized argument: $1" >&2
  108. exit 1
  109. ;;
  110. esac
  111. shift
  112. done
  113. ### Make sure we're running in the right place.
  114. if [ ! -d src -o ! -f src/lisp.h -o ! -d lisp -o ! -f lisp/subr.el ]; then
  115. echo "${progname}: Can't find \`src/lisp.h' and \`lisp/subr.el'." >&2
  116. echo "${progname} must be run in the top directory of the Emacs" >&2
  117. echo "distribution tree. cd to that directory and try again." >&2
  118. exit 1
  119. fi
  120. ### Find where to run Emacs.
  121. ### (Accept only absolute file names.)
  122. if [ $update = yes ];
  123. then
  124. if [ -f src/emacs ];
  125. then
  126. EMACS=`pwd`/src/emacs
  127. else
  128. case $EMACS in
  129. /*) ;;
  130. *)
  131. if [ ! -f "$EMACS" ]; then
  132. echo "$0: You must set the EMACS environment variable " \
  133. "to an absolute file name." 2>&1
  134. exit 1
  135. fi;;
  136. esac
  137. fi
  138. fi
  139. ### Find out which version of Emacs this is.
  140. version=`
  141. sed -n 's/^AC_INIT(GNU Emacs,[ ]*\([^ ,)]*\).*/\1/p' <configure.ac
  142. ` || version=
  143. if [ ! "${version}" ]; then
  144. echo "${progname}: can't find current Emacs version in \`./src/emacs.c'" >&2
  145. exit 1
  146. fi
  147. echo Version number is $version
  148. if [ $update = yes ]; then
  149. if ! grep -q "tree holds version *${version}" README; then
  150. echo "WARNING: README has the wrong version number"
  151. echo "Consider running M-x set-version from admin/admin.el"
  152. sleep 5
  153. fi
  154. fi
  155. ### Make sure we don't already have a directory emacs-${version}.
  156. emacsname="emacs-${version}${new_extension}"
  157. if [ -d ${emacsname} ]
  158. then
  159. echo Directory "${emacsname}" already exists >&2
  160. exit 1
  161. fi
  162. ### Make sure the subdirectory is available.
  163. tempparent="make-dist.tmp.$$"
  164. if [ -d ${tempparent} ]; then
  165. echo "${progname}: staging directory \`${tempparent}' already exists.
  166. Perhaps a previous invocation of \`${progname}' failed to clean up after
  167. itself. Check that directories whose names are of the form
  168. \`make-dist.tmp.NNNNN' don't contain any important information, remove
  169. them, and try again." >&2
  170. exit 1
  171. fi
  172. if [ $check = yes ]; then
  173. ls -1 lisp/[a-zA-Z]*.el lisp/[a-z]*/[a-zA-Z0-9]*.el \
  174. lisp/[a-z]*/[a-z]*/[a-zA-Z0-9]*.el \
  175. lisp/[a-z]*/[a-z]*/[a-z]*/[a-zA-Z0-9]*.el > /tmp/el
  176. ls -1 lisp/[a-zA-Z]*.elc lisp/[a-z]*/[a-zA-Z0-9]*.elc \
  177. lisp/[a-z]*/[a-z]*/[a-zA-Z0-9]*.elc \
  178. lisp/[a-z]*/[a-z]*/[a-z]*/[a-zA-Z0-9]*.elc > /tmp/elc
  179. ## Check for .elc files with no corresponding .el file.
  180. sed 's/\.el$/.elc/' /tmp/el > /tmp/elelc
  181. bogosities="`comm -13 /tmp/elelc /tmp/elc`"
  182. if [ x"${bogosities}" != x"" ]; then
  183. echo "The following .elc files have no corresponding .el files:"
  184. echo "${bogosities}"
  185. fi
  186. ### Check for .el files with no corresponding .elc file.
  187. sed 's/\.elc$/.el/' /tmp/elc > /tmp/elcel
  188. losers="`comm -23 /tmp/el /tmp/elcel`"
  189. rm -f /tmp/el /tmp/elc /tmp/elcel /tmp/elelc
  190. bogosities=
  191. for file in $losers; do
  192. grep -q "no-byte-compile: t" $file && continue
  193. case $file in
  194. site-init.el | site-load.el | site-start.el | default.el) continue ;;
  195. esac
  196. bogosities="$file $bogosities"
  197. done
  198. if [ x"${bogosities}" != x"" ]; then
  199. echo "The following .el files have no corresponding .elc files:"
  200. echo "${bogosities}"
  201. fi
  202. fi
  203. if [ $update = yes ]; then
  204. ## Make sure configure is newer than configure.ac, etc.
  205. ## It is better to let autoreconf do what is needed than
  206. ## for us to try and duplicate all its checks.
  207. echo "Running autoreconf"
  208. autoreconf -i -I m4 || { x=$?; echo Autoreconf FAILED! >&2; exit $x; }
  209. ## Make sure src/stamp-h.in is newer than configure.ac.
  210. rm -f src/stamp-h.in
  211. echo timestamp > src/stamp-h.in
  212. echo "Updating Info files"
  213. make info
  214. echo "Updating finder, custom and autoload data"
  215. (cd lisp && make updates EMACS="$EMACS")
  216. echo "Updating leim-list.el"
  217. (cd leim && make leim-list.el EMACS="$EMACS")
  218. echo "Recompiling Lisp files"
  219. $EMACS -batch -f batch-byte-recompile-directory lisp
  220. fi # $update = yes
  221. echo "Creating staging directory: \`${tempparent}'"
  222. mkdir ${tempparent}
  223. tempdir="${tempparent}/${emacsname}"
  224. ### This trap ensures that the staging directory will be cleaned up even
  225. ### when the script is interrupted in mid-career.
  226. if [ "${clean_up}" = yes ]; then
  227. trap "echo 'Cleaning up the staging directory'; rm -rf ${tempparent}" EXIT
  228. fi
  229. echo "Creating top directory: \`${tempdir}'"
  230. mkdir ${tempdir}
  231. ### We copy in the top-level files before creating the subdirectories in
  232. ### hopes that this will make the top-level files appear first in the
  233. ### tar file; this means that people can start reading the INSTALL and
  234. ### README while the rest of the tar file is still unpacking. Whoopee.
  235. echo "Making links to top-level files"
  236. ln INSTALL README BUGS ${tempdir}
  237. ln ChangeLog Makefile.in autogen.sh configure configure.ac ${tempdir}
  238. ln config.bat make-dist .dir-locals.el ${tempdir}
  239. ln aclocal.m4 ${tempdir}
  240. echo "Creating subdirectories"
  241. for subdir in site-lisp \
  242. leim leim/CXTERM-DIC leim/MISC-DIC leim/SKK-DIC \
  243. build-aux build-aux/snippet \
  244. src src/bitmaps lib lib-src oldXMenu lwlib \
  245. nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet nt/icons \
  246. `find etc lisp admin test -type d` \
  247. doc doc/emacs doc/misc doc/man doc/lispref doc/lispintro \
  248. info m4 msdos \
  249. nextstep nextstep/templates \
  250. nextstep/Cocoa nextstep/Cocoa/Emacs.base \
  251. nextstep/Cocoa/Emacs.base/Contents \
  252. nextstep/Cocoa/Emacs.base/Contents/Resources \
  253. nextstep/GNUstep \
  254. nextstep/GNUstep/Emacs.base \
  255. nextstep/GNUstep/Emacs.base/Resources
  256. do
  257. if [ "$with_tests" != "yes" ]; then
  258. case $subdir in
  259. test*) continue ;;
  260. esac
  261. fi
  262. ## site-lisp for in-place installs (?).
  263. [ "$subdir" = "site-lisp" ] || [ -d "$subdir" ] || \
  264. echo "WARNING: $subdir not found, making anyway"
  265. echo " ${tempdir}/${subdir}"
  266. mkdir ${tempdir}/${subdir}
  267. done
  268. echo "Making links to \`lisp' and its subdirectories"
  269. files=`find lisp \( -name '*.el' -o -name '*.elc' -o -name 'ChangeLog*' \
  270. -o -name 'README' \)`
  271. ### Don't distribute site-init.el, site-load.el, or default.el.
  272. for file in lisp/Makefile.in lisp/makefile.w32-in $files; do
  273. case $file in
  274. */site-init*|*/site-load*|*/default*) continue ;;
  275. esac
  276. ln $file $tempdir/$file
  277. done
  278. echo "Making links to \`leim' and its subdirectories"
  279. (cd leim
  280. ln makefile.w32-in ../${tempdir}/leim
  281. ln ChangeLog README ../${tempdir}/leim
  282. ln CXTERM-DIC/README CXTERM-DIC/*.tit ../${tempdir}/leim/CXTERM-DIC
  283. ln SKK-DIC/README SKK-DIC/SKK-JISYO.L ../${tempdir}/leim/SKK-DIC
  284. ln MISC-DIC/README MISC-DIC/*.* ../${tempdir}/leim/MISC-DIC
  285. ln Makefile.in ../${tempdir}/leim/Makefile.in
  286. ln leim-ext.el ../${tempdir}/leim/leim-ext.el)
  287. ## FIXME Can we not just use the "find -type f" method for this one?
  288. echo "Making links to \`build-aux'"
  289. (cd build-aux
  290. ln compile config.guess config.sub depcomp msys-to-w32 ../${tempdir}/build-aux
  291. ln install-sh missing move-if-change ../${tempdir}/build-aux
  292. ln update-copyright update-subdirs ../${tempdir}/build-aux
  293. ln dir_top make-info-dir ../${tempdir}/build-aux)
  294. echo "Making links to \`build-aux/snippet'"
  295. (cd build-aux/snippet
  296. ln *.h ../../${tempdir}/build-aux/snippet)
  297. echo "Making links to \`src'"
  298. ### Don't distribute the configured versions of
  299. ### config.in, paths.in, buildobj.h, or Makefile.in.
  300. (cd src
  301. echo " (It is ok if ln fails in some cases.)"
  302. ln [a-zA-Z]*.[chm] ../${tempdir}/src
  303. ln [a-zA-Z]*.in ../${tempdir}/src
  304. ln [a-zA-Z]*.mk ../${tempdir}/src
  305. ln README ChangeLog ChangeLog.*[0-9] ../${tempdir}/src
  306. ln makefile.w32-in ../${tempdir}/src
  307. ln .gdbinit .dbxinit ../${tempdir}/src
  308. cd ../${tempdir}/src
  309. rm -f globals.h config.h epaths.h Makefile buildobj.h)
  310. echo "Making links to \`src/bitmaps'"
  311. (cd src/bitmaps
  312. ln README *.xbm ../../${tempdir}/src/bitmaps)
  313. echo "Making links to \`lib'"
  314. (snippet_h=`(cd build-aux/snippet && ls *.h)`
  315. cd lib
  316. ln [a-zA-Z]*.[ch] ../${tempdir}/lib
  317. ln gnulib.mk Makefile.am Makefile.in makefile.w32-in ../${tempdir}/lib
  318. cd ../${tempdir}/lib
  319. script='/[*]/d; s/\.in\.h$/.h/'
  320. rm -f `(echo "$snippet_h"; ls *.in.h) | sed "$script"`)
  321. echo "Making links to \`lib-src'"
  322. (cd lib-src
  323. ln [a-zA-Z]*.[ch] ../${tempdir}/lib-src
  324. ln ChangeLog Makefile.in README ../${tempdir}/lib-src
  325. ln rcs2log ../${tempdir}/lib-src
  326. ln makefile.w32-in ../${tempdir}/lib-src
  327. ln update-game-score.exe.manifest ../${tempdir}/lib-src)
  328. echo "Making links to \`m4'"
  329. (cd m4
  330. ln *.m4 ../${tempdir}/m4)
  331. echo "Making links to \`nt'"
  332. (cd nt
  333. ln emacs-x86.manifest emacs-x64.manifest ../${tempdir}/nt
  334. ln config.nt emacs-src.tags ../${tempdir}/nt
  335. ln nmake.defs gmake.defs subdirs.el [a-z]*.bat [a-z]*.[ch] ../${tempdir}/nt
  336. ln *.in gnulib.mk ../${tempdir}/nt
  337. ln mingw-cfg.site epaths.nt INSTALL.OLD ../${tempdir}/nt
  338. ln ChangeLog INSTALL README README.W32 makefile.w32-in ../${tempdir}/nt)
  339. echo "Making links to \`nt/inc' and its subdirectories"
  340. for f in `find nt/inc -type f -name '[a-z]*.h'`; do
  341. ln $f $tempdir/$f
  342. done
  343. echo "Making links to \`nt/icons'"
  344. (cd nt/icons
  345. ln README [a-z]*.ico ../../${tempdir}/nt/icons
  346. ln [a-z]*.cur ../../${tempdir}/nt/icons)
  347. echo "Making links to \`msdos'"
  348. (cd msdos
  349. ln ChangeLog INSTALL README emacs.ico emacs.pif ../${tempdir}/msdos
  350. ln depfiles.bat inttypes.h ../${tempdir}/msdos
  351. ln mainmake.v2 sed*.inp ../${tempdir}/msdos)
  352. echo "Making links to \`nextstep'"
  353. (cd nextstep
  354. ln ChangeLog README INSTALL Makefile.in ../${tempdir}/nextstep)
  355. echo "Making links to \`nextstep/templates'"
  356. (cd nextstep/templates
  357. ln Emacs.desktop.in Info-gnustep.plist.in Info.plist.in InfoPlist.strings.in ../../${tempdir}/nextstep/templates)
  358. echo "Making links to \`nextstep/Cocoa/Emacs.base/Contents'"
  359. (cd nextstep/Cocoa/Emacs.base/Contents
  360. ln PkgInfo ../../../../${tempdir}/nextstep/Cocoa/Emacs.base/Contents)
  361. echo "Making links to \`nextstep/Cocoa/Emacs.base/Contents/Resources'"
  362. (cd nextstep/Cocoa/Emacs.base/Contents/Resources
  363. ln Credits.html *.icns ../../../../../${tempdir}/nextstep/Cocoa/Emacs.base/Contents/Resources)
  364. echo "Making links to \`nextstep/GNUstep/Emacs.base/Resources'"
  365. (cd nextstep/GNUstep/Emacs.base/Resources
  366. ln README emacs.tiff ../../../../${tempdir}/nextstep/GNUstep/Emacs.base/Resources )
  367. echo "Making links to \`oldXMenu'"
  368. (cd oldXMenu
  369. ln *.[ch] *.in *.mk ../${tempdir}/oldXMenu
  370. ln README ChangeLog ../${tempdir}/oldXMenu)
  371. echo "Making links to \`lwlib'"
  372. (cd lwlib
  373. ln *.[ch] *.in *.mk ../${tempdir}/lwlib
  374. ln README ChangeLog ../${tempdir}/lwlib)
  375. ## It is important to distribute admin/ because it contains sources
  376. ## for generated lisp/international/uni-*.el files.
  377. echo "Making links to \`admin' and its subdirectories"
  378. for f in `find admin -type f`; do
  379. case $f in
  380. */Makefile) [ -f $f.in ] && continue ;;
  381. esac
  382. ln $f $tempdir/$f
  383. done
  384. if [ "$with_tests" = "yes" ]; then
  385. echo "Making links to \`test' and its subdirectories"
  386. for f in `find test -type f`; do
  387. case $f in
  388. test/automated/*.log) continue ;;
  389. test/automated/flymake/warnpred/a.out) continue ;;
  390. test/automated/Makefile) continue ;;
  391. esac
  392. ln $f $tempdir/$f
  393. done
  394. fi
  395. echo "Making links to \`etc' and its subdirectories"
  396. for f in `find etc -type f`; do
  397. case $f in
  398. etc/DOC*|etc/*.pyc) continue ;;
  399. ## Arguably we should not exclude *.ps.
  400. etc/refcards/*.aux|etc/refcards/*.dvi|etc/refcards/*.log|etc/refcards/*.ps)
  401. continue ;;
  402. esac
  403. ln $f $tempdir/$f
  404. done
  405. echo "Making links to \`info'"
  406. ln `find info -type f -print` ${tempdir}/info
  407. echo "Making links to \`doc/emacs'"
  408. (cd doc/emacs
  409. ln *.texi *.in makefile.w32-in ChangeLog* ../../${tempdir}/doc/emacs)
  410. echo "Making links to \`doc/misc'"
  411. (cd doc/misc
  412. ln *.texi *.tex *.in makefile.w32-in gnus-news.el ChangeLog* ../../${tempdir}/doc/misc)
  413. echo "Making links to \`doc/lispref'"
  414. (cd doc/lispref
  415. ln *.texi *.in makefile.w32-in README ChangeLog* ../../${tempdir}/doc/lispref
  416. ln spellfile ../../${tempdir}/doc/lispref
  417. ln two-volume.make two-volume-cross-refs.txt ../../${tempdir}/doc/lispref)
  418. echo "Making links to \`doc/lispintro'"
  419. (cd doc/lispintro
  420. ln *.texi *.in makefile.w32-in *.eps *.pdf ../../${tempdir}/doc/lispintro
  421. ln README ChangeLog* ../../${tempdir}/doc/lispintro
  422. cd ../../${tempdir}/doc/lispintro)
  423. echo "Making links to \`doc/man'"
  424. (cd doc/man
  425. ln ChangeLog* *.1 *.in ../../${tempdir}/doc/man
  426. cd ../../${tempdir}/doc/man
  427. rm -f emacs.1)
  428. ### It would be nice if they could all be symlinks to top-level copy, but
  429. ### you're not supposed to have any symlinks in distribution tar files.
  430. echo "Making sure copying notices are all copies of \`COPYING'"
  431. for subdir in . etc leim lib lib-src lisp lwlib msdos nt src; do
  432. rm -f ${tempdir}/${subdir}/COPYING
  433. cp COPYING ${tempdir}/${subdir}
  434. done
  435. if [ "${newer}" ]; then
  436. echo "Removing files older than $newer"
  437. ## We remove .elc files unconditionally, on the theory that anyone picking
  438. ## up an incremental distribution already has a running Emacs to byte-compile
  439. ## them with.
  440. find ${tempparent} \( -name '*.elc' -o ! -newer ${newer} \) -exec rm -f {} \;
  441. fi
  442. ## Don't distribute backups, autosaves, etc.
  443. echo "Removing unwanted files"
  444. find ${tempparent} \( -name '*~' -o -name '#*#' -o -name '.*ignore' -o -name '=*' -o -name 'TAGS' \) -exec rm -f {} \;
  445. if [ "${make_tar}" = yes ]; then
  446. echo "Looking for $default_gzip"
  447. found=0
  448. temppath=`echo $PATH | sed -e 's/^:/.:/' -e 's/::/:.:/g' -e 's/:$/:./' \
  449. -e 's/:/ /g'`
  450. for dir in ${temppath}; do
  451. [ -x ${dir}/$default_gzip ] || continue
  452. found=1; break
  453. done
  454. if [ "$found" = "0" ]; then
  455. echo "WARNING: \`$default_gzip' not found, will not compress" >&2
  456. default_gzip=cat
  457. fi
  458. case "${default_gzip}" in
  459. bzip2) gzip_extension=.bz2 ;;
  460. xz) gzip_extension=.xz ;;
  461. gzip) gzip_extension=.gz ; default_gzip="gzip --best";;
  462. *) gzip_extension= ;;
  463. esac
  464. echo "Creating tar file"
  465. (cd ${tempparent} ; tar cvf - ${emacsname} ) \
  466. | ${default_gzip} \
  467. > ${emacsname}.tar${gzip_extension}
  468. fi
  469. if [ "${clean_up}" != yes ]; then
  470. (cd ${tempparent}; mv ${emacsname} ..)
  471. rm -rf ${tempparent}
  472. fi
  473. ### make-dist ends here