New commits:
commit 784e6c9bedd5c9de0f2d7edf79fd88f0dd1681c1
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
.gitignore: Add .#*
commit 82c245c30670467ff942607e84c39dc4c1f25f8c
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
Fix ChangeLog entry added by cc5c415 (dmg2img)
commit 05957827ef3990430d73b6ddddaebdad5e2f0af2
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
emacs-goodies-el: new spell, Various functions for Emacs
commit 0dcf976bdd4428ced9c6fa2a580c047287c0e0b7
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
emacs-lisp: FUNCTIONS: Enable to specify the source directories
Now install and build functions take parameters. This enables us to build
packages containing multiple source subdirectories.
commit aeda996b37c3192d39832bbb2a938305dc507b0a
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
fill-column-indicator: Fix typo in DETAILS
diff --git a/.gitignore b/.gitignore
index 68a6800..76453e7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ provides.index
version.index
keyword.index
*~
+.#*
diff --git a/ChangeLog b/ChangeLog
index 0239fb1..c153127 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,10 @@
+2013-02-19 Ismael Luceno <ismael AT sourcemage.org>
+ * emacs-lisp/emacs-goodies-el: new spell, Various functions for Emacs
+
2013-02-17 Robin Cook <rcook AT wyrms.net>
* libs/libcdio-paranoia: new spell, split from libcdio
-2013-02-17 Ismael Luceno <ismael.luceno AT gmail.com>
+2013-02-17 Ismael Luceno <ismael AT sourcemage.org>
* disk/dmg2img: new spell, Converts DMG to standard (hfs+) disk image
2013-02-16 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
diff --git a/emacs-lisp/FUNCTIONS b/emacs-lisp/FUNCTIONS
index 6f054a8..4375212 100755
--- a/emacs-lisp/FUNCTIONS
+++ b/emacs-lisp/FUNCTIONS
@@ -10,38 +10,46 @@ function emacs_lisp_install() {
## Section-default build script.
#-------------------------------------------------------------------------
function default_build_emacs_lisp() {
+ [ $# = 0 ] && set -- "$SOURCE_DIRECTORY"
shopt -s nullglob
- local texi_files=("$SOURCE_DIRECTORY"/*.texi)
-
- emacs -Q -L "$SOURCE_DIRECTORY" -batch -f batch-byte-compile \
- "$SOURCE_DIRECTORY"/*.el &&
- if [ ${#texi_files[@]} -gt 0 ]
- then
- makeinfo "${texi_files[@]}" &&
- gzip -9 "$SOURCE_DIRECTORY"/*.info
- fi
+ local texi_files
+
+ while [ $# -gt 0 ]; do
+ emacs -Q -L "$1" -batch -f batch-byte-compile "$1"/*.el &&
+ texi_files=("$1"/*.texi)
+ if [ ${#texi_files[@]} -gt 0 ]
+ then
+ makeinfo "${texi_files[@]}" &&
+ gzip -9 "$1"/*.info
+ fi
+ shift
+ done
}