Permalink
Browse files

suppress `make watch` spam, but still announce build completion

  • Loading branch information...
1 parent 86b373d commit 99d262cebcc64ecdceabad2856882d57de1d09c3 @thejoshwolfe thejoshwolfe committed Feb 29, 2012
Showing with 7 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +6 −1 Makefile
View
@@ -5,3 +5,4 @@ public/app.css
public/library
node_modules/
*.tmp
+.build.timestamp
View
@@ -16,7 +16,12 @@ stylus=node_modules/stylus/bin/stylus
.PHONY: build clean watch
SHELL=bash
-build: $(serverjs) $(appjs) $(appcss)
+build: .build.timestamp
+ @: # suppress 'nothing to be done' message
+.build.timestamp: $(serverjs) $(appjs) $(appcss)
+ @touch $@
+ @echo done building
+ @echo
$(serverjs): $(server_src) $(mpd_lib) $(lib)/mpdconf.js
$(coffee) -p -c $(server_src) >$@.tmp

0 comments on commit 99d262c

Please sign in to comment.