Permalink
Browse files

this needs to be generated so I don't track 99 vs 0, etc

  • Loading branch information...
1 parent f5d6317 commit a2cc4406f7dd53367348dff9ac45261f94c1955c @jettero committed Jan 9, 2010
Showing with 8 additions and 4 deletions.
  1. +1 −0 .gitignore
  2. +4 −1 Makefile
  3. +0 −3 framework_config.json
  4. +3 −0 framework_config.json.in
View
@@ -1,2 +1,3 @@
JetsLocationTracker
com.jettero.*.ipk
+framework_config.json
View
@@ -10,7 +10,10 @@ myinstall: clean build
scp *.ipk castle.vhb:
ssh castle.vhb
-build:
+framework_config.json: framework_config.json.in
+ perl -pe 's/\%([\w\d]+),([\w\d]+)\%/$$ENV{ "JLT_$$1"||$$2 }/eg' $< > $@
+
+build: framework.json
@-rm -vf *.ipk $(name) *.tar.gz ipkgtmp*
ln -sf ./ $(name) && \
palm-package --exclude "*.tar.gz" --exclude .git --exclude cgi --exclude "*.ipk" \
@@ -1,3 +0,0 @@
-{
- "logLevel": 99
-}
@@ -0,0 +1,3 @@
+{
+ "logLevel": %LOGLEVEL,0%
+}

0 comments on commit a2cc440

Please sign in to comment.