Markus Korn has proposed merging lp:~thekorn/zeitgeist/fix-660423-make-run into 
lp:zeitgeist.

Requested reviews:
  Zeitgeist Framework Team (zeitgeist)
Related bugs:
  #660423 add `make run` targets to rootlevel Makefile
  https://bugs.launchpad.net/bugs/660423


Added `make run` target to the rootlevel Makefile (LP: #660423)
    
This command makes sure the ontology is updated, zeitgeist-daemon.py and
zeitgeist-daemon are in sync and then runs zeitgeist-daemon.

-- 
https://code.launchpad.net/~thekorn/zeitgeist/fix-660423-make-run/+merge/38542
Your team Zeitgeist Framework Team is requested to review the proposed merge of 
lp:~thekorn/zeitgeist/fix-660423-make-run into lp:zeitgeist.
=== modified file 'Makefile.am'
--- Makefile.am	2010-10-13 15:33:17 +0000
+++ Makefile.am	2010-10-15 14:43:23 +0000
@@ -69,3 +69,14 @@
 	else \
 		echo "Cannot run the testsuite, tests are not shipped"; \
 	fi
+	
+# do the right thing to start a daemon
+#  wrap commandline options
+#  * to run the daemon without any datahub, set ZG_NODATAHUB,
+#  * to use a certain log level, set ZG_LOGLEVEL=<log-level>
+# example:
+#  make run ZG_LOGLEVEL=INFO ZG_NODATAHUB=1
+ZG_DAEMON_ARGS := $(if $(ZG_LOGLEVEL), --log-level $(ZG_LOGLEVEL),)
+ZG_DAEMON_ARGS += $(if $(ZG_NODATAHUB), --no-datahub,)
+run: all
+	./zeitgeist-daemon $(ZG_DAEMON_ARGS)

_______________________________________________
Mailing list: https://launchpad.net/~zeitgeist
Post to     : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp

Reply via email to