em.cleanup_src() added, required for modules which must be build in the src directory

This commit is contained in:
2014-04-27 10:45:45 +02:00
parent 344794aaba
commit 089d5af181
3 changed files with 23 additions and 3 deletions

View File

@@ -1,4 +1,7 @@
#!/bin/bash
#
# Lua cannot be build in a seperate directory!
#
source "$(dirname $0)/../lib/libem.bash"
@@ -12,9 +15,10 @@ function em.configure() {
function em.build() {
cd "${EM_SRCDIR}"
make
make -j ${JOBS}
}
em.add_to_family "core"
em.set_build_dependencies "${COMPILER}"
em.make_all
em.cleanup_src