summaryrefslogtreecommitdiff
path: root/make-dist
diff options
context:
space:
mode:
Diffstat (limited to 'make-dist')
-rwxr-xr-xmake-dist17
1 files changed, 15 insertions, 2 deletions
diff --git a/make-dist b/make-dist
index db036e700c..719e8904e5 100755
--- a/make-dist
+++ b/make-dist
@@ -311,7 +311,7 @@ for subdir in site-lisp \
nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet nt/icons \
`find etc lisp admin test -type d` \
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/Cocoa nextstep/Cocoa/Emacs.base \
nextstep/Cocoa/Emacs.base/Contents \
@@ -323,7 +323,7 @@ do
if [ "$with_tests" != "yes" ]; then
case $subdir in
- test*) continue ;;
+ test*|*/mod-test*) continue ;;
esac
fi
@@ -405,6 +405,19 @@ echo "Making links to 'm4'"
(cd 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'"
(cd nt
ln emacs-x86.manifest emacs-x64.manifest ../${tempdir}/nt