diff options
-rw-r--r-- | configure.ac | 1 | ||||
-rwxr-xr-x | elpa/bin/deploy-to-core | 22 |
2 files changed, 17 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index c7144414dc6..71bcedca381 100644 --- a/configure.ac +++ b/configure.ac @@ -5051,7 +5051,6 @@ AC_SUBST(bitmapdir) AC_SUBST(gamedir) AC_SUBST(gameuser) AC_SUBST(gamegroup) -AC_SUBST(elpadir) ## FIXME? Nothing uses @LD_SWITCH_X_SITE@. ## src/Makefile.in did add LD_SWITCH_X_SITE (as a cpp define) to the ## end of LIBX_BASE, but nothing ever set it. diff --git a/elpa/bin/deploy-to-core b/elpa/bin/deploy-to-core index 77eafca0c16..917f6469de7 100755 --- a/elpa/bin/deploy-to-core +++ b/elpa/bin/deploy-to-core @@ -37,12 +37,24 @@ deploy_source(){ ## General extensibility point for complicated packages ./core-deploy.sh else - rsync -i --ignore-missing-args *!(tests)*.el ../../../lisp/elpa/$SUBDIR - rsync -i --ignore-missing-args *.texi ../../../doc/elpa/$SUBDIR - rsync -i --ignore-missing-args *tests*.el ../../../test/lisp/elpa/$SUBDIR - if [ -e tests ] + if ls *!(tests)*.el >/dev/null 2>&1; then - rsync -i --ignore-missing-args tests/*.el ../../../test/lisp/elpa/$SUBDIR + cp -v *!(tests)*.el ../../../lisp/elpa/$SUBDIR + fi + + if ls *.texi > /dev/null 2>&1; + then + cp -v *.texi ../../../lisp/elpa/$SUBDIR + fi + + if ls *tests*.el > /dev/null 2>&1; + then + cp -v *tests*.el ../../../test/lisp/elpa/$SUBDIR + fi + + if ls tests/*.el > /dev/null 2>&1; + then + cp -v tests/*.el ../../../test/lisp/elpa/$SUBDIR fi fi } |