← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4309: mydatamart: round in circles .. removed target directory again.

 

------------------------------------------------------------
revno: 4309
committer: Bob Jolliffe bobjolliffe@xxxxxxxxx
branch nick: dhis2
timestamp: Mon 2011-08-15 17:39:33 +0100
message:
  mydatamart: round in circles .. removed target directory again.
removed:
  tools/datamart/target/
modified:
  tools/datamart/Makefile


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'tools/datamart/Makefile'
--- tools/datamart/Makefile	2011-08-15 16:03:12 +0000
+++ tools/datamart/Makefile	2011-08-15 16:39:33 +0000
@@ -3,13 +3,13 @@
 RUNTIME_WIN=runtime/tclkit-gui.exe
 RUNTIME_LINUX=runtime/tclkit-8.6b1.1
 
-win-exe:
+win-exe: target
 	rm -rf mydatamart.vfs/libext/sqlite* mydatamart.vfs/libext/tls*
 	cp -r windoze/libext mydatamart.vfs 
 	$(TCLKITSH_WIN) runtime/sdx.kit wrap target/mydatamart.kit
 	$(TCLKITSH_WIN) runtime/sdx.kit wrap target/mydatamart.exe -runtime $(RUNTIME_WIN)
 
-linux-exe:
+linux-exe: target
 	rm -rf mydatamart.vfs/libext/sqlite* mydatamart.vfs/libext/tls*
 	cp -r linux/libext mydatamart.vfs
 	cp $(TCLKITSH_LINUX) ./tclkit-linux 
@@ -17,10 +17,13 @@
 	$(TCLKITSH_LINUX) runtime/sdx.kit wrap target/mydatamart -runtime ./tclkit-linux
 	chmod +x target/mydatamart
 	rm ./tclkit-linux
+
+target: 
+	mkdir target
 
 test:
 	$(TCLKITSH_WIN) unittests/unittest.tcl -testdir unittests -verbose -pe -file "excel.test"
 
 clean:
-	rm -f target/* *~
+	rm -rf target *~
 	rm -rf mydatamart.vfs/libext/sqlite* mydatamart.vfs/libext/tls*

=== removed directory 'tools/datamart/target'