]> code.delx.au - gnu-emacs/commitdiff
* make-dist: Add modules/.
authorGlenn Morris <rgm@gnu.org>
Tue, 2 Feb 2016 21:08:03 +0000 (16:08 -0500)
committerGlenn Morris <rgm@gnu.org>
Tue, 2 Feb 2016 21:08:03 +0000 (16:08 -0500)
make-dist

index db036e700c7cf0d48225cded43582554b5924601..719e8904e5bbb951a836ac624dc25452d1f45fbb 100755 (executable)
--- 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