comparison make-dist @ 10065:9b43de28b295

Create subdir etc/e. Make links to it. Put man/Makefile.in in dist, instead of man/Makefile.
author Richard M. Stallman <rms@gnu.org>
date Wed, 23 Nov 1994 20:26:16 +0000
parents ee0d90e7720d
children 6eb8397f165b
comparison
equal deleted inserted replaced
10064:9d103084f33b 10065:9b43de28b295
165 version=${version} README > tmp.README 165 version=${version} README > tmp.README
166 mv tmp.README README) 166 mv tmp.README README)
167 167
168 168
169 echo "Creating subdirectories." 169 echo "Creating subdirectories."
170 # I think we're not going to distribute anything in external-lisp, so
171 # I've removed it from this list.
172 for subdir in lisp lisp/term site-lisp \ 170 for subdir in lisp lisp/term site-lisp \
173 src src/m src/s src/bitmaps lib-src oldXMenu lwlib \ 171 src src/m src/s src/bitmaps lib-src oldXMenu lwlib \
174 nt nt/inc nt/inc/sys nt/src \ 172 nt nt/inc nt/inc/sys nt/src \
175 etc lock cpp info man msdos shortnames vms; do 173 etc etc/e lock cpp info man msdos shortnames vms; do
176 mkdir ${tempdir}/${subdir} 174 mkdir ${tempdir}/${subdir}
177 done 175 done
178 176
179 echo "Making links to \`lisp'." 177 echo "Making links to \`lisp'."
180 ### Don't distribute TAGS, =*.el files, site-init.el, site-load.el, or default.el. 178 ### Don't distribute TAGS, =*.el files, site-init.el, site-load.el, or default.el.
206 (cd lisp/term 204 (cd lisp/term
207 ln [a-zA-Z]*.el ../../${tempdir}/lisp/term 205 ln [a-zA-Z]*.el ../../${tempdir}/lisp/term
208 ln [a-zA-Z]*.elc ../../${tempdir}/lisp/term 206 ln [a-zA-Z]*.elc ../../${tempdir}/lisp/term
209 ln README ../../${tempdir}/lisp/term 207 ln README ../../${tempdir}/lisp/term
210 rm -f =* TAGS) 208 rm -f =* TAGS)
211
212 ### echo "Making links to \`external-lisp'."
213 ### ### Don't distribute =*.el files or TAGS.
214 ### (cd external-lisp
215 ### ln [a-zA-Z]*.el ../${tempdir}/external-lisp
216 ### ln [a-zA-Z]*.elc ../${tempdir}/external-lisp
217 ### ln ChangeLog README ../${tempdir}/external-lisp
218 ### rm -f =* TAGS)
219 209
220 echo "Making links to \`src'." 210 echo "Making links to \`src'."
221 ### Don't distribute =*.[ch] files, or the configured versions of 211 ### Don't distribute =*.[ch] files, or the configured versions of
222 ### config.h.in, paths.h.in, or Makefile.in.in, or TAGS. 212 ### config.h.in, paths.h.in, or Makefile.in.in, or TAGS.
223 (cd src 213 (cd src
298 ln `ls -d * | grep -v 'RCS' | grep -v 'Old'` ../${tempdir}/etc 288 ln `ls -d * | grep -v 'RCS' | grep -v 'Old'` ../${tempdir}/etc
299 cd ../${tempdir}/etc 289 cd ../${tempdir}/etc
300 rm -f DOC* *~ \#*\# *.dvi *.log *,v =* core 290 rm -f DOC* *~ \#*\# *.dvi *.log *,v =* core
301 rm -f TAGS) 291 rm -f TAGS)
302 292
293 echo "Making links to \`etc/e'."
294 (cd etc/e
295 ln `ls -d * | grep -v 'RCS' ../${tempdir}/etc/e
296 cd ../${tempdir}/etc
297 rm -f DOC* *~ \#*\# *,v =* core)
298
303 echo "Making links to \`cpp'." 299 echo "Making links to \`cpp'."
304 (cd cpp 300 (cd cpp
305 ln cccp.c cexp.y Makefile README ../${tempdir}/cpp) 301 ln cccp.c cexp.y Makefile README ../${tempdir}/cpp)
306 302
307 echo "Making links to \`info'." 303 echo "Making links to \`info'."
315 311
316 echo "Making links to \`man'." 312 echo "Making links to \`man'."
317 (cd man 313 (cd man
318 ln *.texi *.aux *.cps *.fns *.kys *.vrs ../${tempdir}/man 314 ln *.texi *.aux *.cps *.fns *.kys *.vrs ../${tempdir}/man
319 test -f README && ln README ../${tempdir}/man 315 test -f README && ln README ../${tempdir}/man
320 test -f Makefile && ln Makefile ../${tempdir}/man 316 test -f Makefile.in && ln Makefile.in ../${tempdir}/man
321 ln ChangeLog split-man ../${tempdir}/man 317 ln ChangeLog split-man ../${tempdir}/man
322 cp texinfo.tex texindex.c getopt.c ../${tempdir}/man 318 cp texinfo.tex texindex.c getopt.c ../${tempdir}/man
323 cd ../${tempdir}/man 319 cd ../${tempdir}/man
324 rm -f \#*\# =* *~ core emacs-index* *.Z *.z xmail 320 rm -f \#*\# =* *~ core emacs-index* *.Z *.z xmail
325 rm -f emacs.?? termcap.?? gdb.?? *.log *.toc *.dvi *.oaux) 321 rm -f emacs.?? termcap.?? gdb.?? *.log *.toc *.dvi *.oaux)