diff options
author | Ismael Luceno | 2014-12-26 09:16:01 -0300 |
---|---|---|
committer | Ismael Luceno | 2014-12-26 10:22:32 -0300 |
commit | d4cec97b4fc46e4848d8f555ad7e143f95bc76bf (patch) | |
tree | a13d7d4617c71a0438fc926eccf0a1fd49d8bb6c /emacs-lisp | |
parent | 3f03f6dcc6a51de5a45722691ad89549f1212a7c (diff) |
emacs-lisp/FUNCTIONS: Install gzipped emacs-lisp files
Diffstat (limited to 'emacs-lisp')
-rwxr-xr-x | emacs-lisp/FUNCTIONS | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs-lisp/FUNCTIONS b/emacs-lisp/FUNCTIONS index 81d36fd916..66513d12bb 100755 --- a/emacs-lisp/FUNCTIONS +++ b/emacs-lisp/FUNCTIONS @@ -14,6 +14,7 @@ function default_build_emacs_lisp() { find "$@" -maxdepth 1 -name \*.el \ -execdir emacs -Q -L . --batch -f batch-byte-compile {} + \ + -execdir gzip -9 {} + \ -o -name \*.texi -execdir makeinfo {} \; -print0 | sed -z 's@texi$@info@' | xargs -r0 gzip -9 } @@ -28,7 +29,7 @@ function default_install_emacs_lisp() { local info_dir="$INSTALL_ROOT/usr/share/info" install -d -m755 "$dir" && - find "$@" -maxdepth 1 \( -name \*.el -o -name \*.elc \) \ + find "$@" -maxdepth 1 \( -name \*.el.gz -o -name \*.elc \) \ -exec install -m644 -t "$dir" {} + \ -o -name \*.info.gz \ -exec install -m644 -t "$info_dir" {} \; -print0 | |