after successfully run, stop apache
authorWolfram Schneider <wosch@indexdata.dk>
Wed, 16 Apr 2014 09:34:10 +0000 (09:34 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Wed, 16 Apr 2014 09:35:28 +0000 (09:35 +0000)
make don't call a target twice.

test/Makefile

index 2bb32dd..125efa7 100644 (file)
@@ -46,7 +46,8 @@ test: check
 terse:
        $(MIKE) jasmine-node --noColor --captureExceptions --forceexit spec
 
-phantomjs p: apache-stop apache-start _phantomjs apache-stop
+phantomjs p: apache-stop apache-start _phantomjs 
+       ${MAKE} apache-stop
 
 _phantomjs:
        ./bin/bomb.pl --timeout="${PHANTOMJS_TIMEOUT}.5" ${PHANTOMJS} phantom/run-jasmine.js ${PHANTOMJS_URL} ${PHANTOMJS_TIMEOUT}