summaryrefslogtreecommitdiff
path: root/test/poi-service/script
diff options
context:
space:
mode:
Diffstat (limited to 'test/poi-service/script')
-rw-r--r--test/poi-service/script/Makefile1
-rw-r--r--test/poi-service/script/generate-api.mk2
-rwxr-xr-xtest/poi-service/script/kill-all2
3 files changed, 4 insertions, 1 deletions
diff --git a/test/poi-service/script/Makefile b/test/poi-service/script/Makefile
index b716e4c..dfa3a67 100644
--- a/test/poi-service/script/Makefile
+++ b/test/poi-service/script/Makefile
@@ -43,6 +43,7 @@ help::
@echo "all: Build $(ALL)"
@echo "clean: Clean up build dir"
@echo "src-clean: Clean up all checked out sources"
+ @echo "all2: Get $(DEPS) and build $(ALL)"
#Clone the positioning repository for getting the API, generate the proxies and adaptors for the DBus APIs firstly
include get-positioning.mk
diff --git a/test/poi-service/script/generate-api.mk b/test/poi-service/script/generate-api.mk
index 5176acd..8b60942 100644
--- a/test/poi-service/script/generate-api.mk
+++ b/test/poi-service/script/generate-api.mk
@@ -25,6 +25,8 @@
# @licence end@
COMMON_DIR=$(ROOT_DIR)/poi-common
TARGET_GENERATED_API_DIR=$(COMMON_DIR)
+GENERATE_API_DEPS=libdbus-c++-dev xsltproc
+DEPS+=$(GENERATE_API_DEPS)
ALL+=generate-api
CLEAN+=clean-generate-api
diff --git a/test/poi-service/script/kill-all b/test/poi-service/script/kill-all
index 510d023..75032ad 100755
--- a/test/poi-service/script/kill-all
+++ b/test/poi-service/script/kill-all
@@ -1,4 +1,4 @@
#!/bin/sh
echo 'kill all remaining process'
-kill -9 `ps -ef | grep poi- | grep -v grep | awk '{print $2}'`
+kill -9 `ps -ef | egrep poi- | grep -v grep | awk '{print $2}'`