Permalink
Browse files

House cleaning: clean target cleans, init target inits

  • Loading branch information...
1 parent 4e63fb8 commit de923606821ca92e60a7d745ded8162f7cf887e6 @gseguin gseguin committed Feb 3, 2012
Showing with 9 additions and 2 deletions.
  1. +9 −2 Makefile
View
@@ -28,8 +28,15 @@ RUN_JS = @@java -XX:ReservedCodeCacheSize=64m -classpath build/js.jar:build/goog
# When no build target is specified, all gets ran
all: init css js zip notify
-# alias for init to follow normal build conventions
-clean: init
+clean:
+ # -------------------------------------------------
+ # Cleaning build output
+ @@rm -rf ${OUTPUT}
+ @@rm -rf tmp
+
+# Create the output directory.
+init: clean
+ @@mkdir -p ${OUTPUT}
# Build and minify the CSS files
css: init

0 comments on commit de92360

Please sign in to comment.