1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 00:24:13 +01:00

Minor build system updates.

--HG--
branch : xslt
This commit is contained in:
Kris Maglione
2009-10-27 00:29:10 -04:00
parent 35a6000d68
commit a8c6378b43
2 changed files with 4 additions and 2 deletions

View File

@@ -8,7 +8,8 @@ BASE = $(TOP)/../common
LOCALEDIR = locale
DOC_FILES = $(wildcard $(LOCALEDIR)/*/*.xml)
MAKE_JAR = VERSION="$(VERSION)" DATE="$(BUILD_DATE)" sh $(BASE)/make_jar.sh
export VERSION BUILD_DATE
MAKE_JAR = sh $(BASE)/make_jar.sh
# TODO: specify source files manually?
JAR_BASES = $(TOP) $(BASE)

View File

@@ -52,6 +52,7 @@ do
) || exit 1
done
(cd $stage; zip -r "$top/$jar" *) || exit 1
[ -f "$top/$jar" ] && rm -f "$top/$jar"
(set -e; cd $stage; zip -r "$top/$jar" *) || exit 1
rm -rf "$stage"