* make-dist: Add modules/.

This commit is contained in:
Glenn Morris 2016-02-02 16:08:03 -05:00
parent 3696bf2f63
commit 737193a44c

View file

@ -311,7 +311,7 @@ for subdir in site-lisp \
nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet nt/icons \ nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet nt/icons \
`find etc lisp admin test -type d` \ `find etc lisp admin test -type d` \
doc doc/emacs doc/misc doc/man doc/lispref doc/lispintro \ doc doc/emacs doc/misc doc/man doc/lispref doc/lispintro \
info m4 msdos \ info m4 modules modules/mod-test msdos \
nextstep nextstep/templates \ nextstep nextstep/templates \
nextstep/Cocoa nextstep/Cocoa/Emacs.base \ nextstep/Cocoa nextstep/Cocoa/Emacs.base \
nextstep/Cocoa/Emacs.base/Contents \ nextstep/Cocoa/Emacs.base/Contents \
@ -323,7 +323,7 @@ do
if [ "$with_tests" != "yes" ]; then if [ "$with_tests" != "yes" ]; then
case $subdir in case $subdir in
test*) continue ;; test*|*/mod-test*) continue ;;
esac esac
fi fi
@ -405,6 +405,19 @@ echo "Making links to 'm4'"
(cd m4 (cd m4
ln *.m4 ../${tempdir}/m4) ln *.m4 ../${tempdir}/m4)
echo "Making links to 'modules'"
(cd modules
ln *.py ../${tempdir}/modules
if [ "$with_tests" = "yes" ]; then
for f in `find mod-test -type f`; do
case $f in
*.log|*.o|*.so) continue ;;
esac
ln $f ../$tempdir/modules/$f
done
fi
)
echo "Making links to 'nt'" echo "Making links to 'nt'"
(cd nt (cd nt
ln emacs-x86.manifest emacs-x64.manifest ../${tempdir}/nt ln emacs-x86.manifest emacs-x64.manifest ../${tempdir}/nt