byte-compile .el instaed of gziping theme

Signed-off-by: Gwenhael Le Moine <cycojesus@darkstar.example.net>
This commit is contained in:
Gwenhael Le Moine 2010-01-19 17:34:50 +07:00
parent eb631bf0ce
commit 2d0e8f0813

View file

@ -56,11 +56,16 @@ cp -R $REPOSITORY $TMP/$APP_NAME-$VERSION
rm $PKG$PREFIX/info/dir
# install contrib
# mkdir -p $PKG$PREFIX/share/emacs/site-lisp/org-mode-contrib
cp -R contrib/lisp $PKG$PREFIX/share/emacs/site-lisp/org-mode-contrib
# mkdir -p $PKG$PREFIX/share/emacs/site-lisp/org-mode-contrib/babel
# install org-babel
cp -R contrib/babel/lisp $PKG$PREFIX/share/emacs/site-lisp/org-mode-contrib/babel
( cd $PKG$PREFIX/share/emacs/site-lisp/org-mode-contrib
emacs -batch -f batch-byte-compile-file *.el
)
( cd $PKG$PREFIX/share/emacs/site-lisp/org-mode-contrib/babel
emacs -batch -f batch-byte-compile-file *.el
)
mkdir -p $PKG$PREFIX/doc/$APP_NAME
cp -R contrib $PKG$PREFIX/doc/$APP_NAME
)
@ -71,11 +76,11 @@ cp -R $REPOSITORY $TMP/$APP_NAME-$VERSION
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
[ -d $PKG/usr/info ] && find $PKG/usr/info -type f -name "*" -exec gzip -9f {} \;
[ -d $PKG$PREFIX/share/emacs/$EMACS_VERSION/lisp/org ] && \
find $PKG$PREFIX/share/emacs/$EMACS_VERSION/lisp/org -type f -name "*.el" -exec gzip -9f {} \;
[ -d $PKG$PREFIX/share/emacs/site-lisp ] && \
find $PKG$PREFIX/share/emacs/site-lisp -type f -name "*.el" -exec gzip -9f {} \;
gunzip $PKG/usr/info/dir.gz
# [ -d $PKG$PREFIX/share/emacs/$EMACS_VERSION/lisp/org ] && \
# find $PKG$PREFIX/share/emacs/$EMACS_VERSION/lisp/org -type f -name "*.el" -exec gzip -9f {} \;
# [ -d $PKG$PREFIX/share/emacs/site-lisp ] && \
# find $PKG$PREFIX/share/emacs/site-lisp -type f -name "*.el" -exec gzip -9f {} \;
# gunzip $PKG/usr/info/dir.gz
)
# embaumement