Permalink
Browse files

clean up pid files on stop

  • Loading branch information...
1 parent 6c86d09 commit b0709d266bce05cfb5452eb2a241f26093a1529d @mitechie committed Jan 26, 2012
Showing with 2 additions and 5 deletions.
  1. +2 −5 Makefile
View
@@ -7,21 +7,16 @@ JS_META_SCRIPT = scripts/js/generate_meta.py
YUIGIT = git://github.com/yui/yui3.git
js: $(JS_BUILD_PATH)/bookie/meta.js $(JS_BUILD_PATH)/yui
-
clean_js:
rm -rf $(JS_BUILD_PATH)/*
-
$(JS_BUILD_PATH)/bookie/meta.js: $(JS_BUILD_PATH)/bookie/y*-min.js
$(JS_META_SCRIPT) -n YUI_MODULES -s $(BOOKIE_JS)/ -o $(JS_BUILD_PATH)/bookie/meta.js
$(JS_BUILD_PATH)/bookie/y%-min.js: $(JS_BUILD_PATH)/bookie $(JS_BUILD_PATH)/bookie/y%.js
scripts/js/jsmin_all.py $(JS_BUILD_PATH)/bookie
-
$(JS_BUILD_PATH)/bookie/y%.js: $(BOOKIE_JS)/y%.js
cp $? $(JS_BUILD_PATH)/bookie/
-
$(JS_BUILD_PATH)/bookie:
mkdir $(JS_BUILD_PATH)/bookie
-
$(JS_BUILD_PATH)/yui:
mkdir $(JS_BUILD_PATH)/yui
mkdir /tmp/yui
@@ -45,10 +40,12 @@ stop: stop_combo stop_css stop_app
stop_dev: stop stop_livereload
stop_combo:
kill -9 `cat combo.pid`
+ rm combo.pid
stop_css:
killall -9 sass
stop_app:
kill -9 `cat paster.pid`
+ rm paster.pid
stop_livereload:
killall livereload

0 comments on commit b0709d2

Please sign in to comment.