Do the copy-into-htdocs operations all on a single line.
authorMike Taylor <mike@indexdata.com>
Fri, 28 Mar 2014 16:16:55 +0000 (16:16 +0000)
committerMike Taylor <mike@indexdata.com>
Fri, 28 Mar 2014 16:16:55 +0000 (16:16 +0000)
src/Makefile

index 1e68743..51bcf2a 100644 (file)
@@ -28,9 +28,7 @@ uninstall:
        rm -f $(INSTALLED)
 
 ../tools/htdocs/%: %
-       rm -f $@
-       cp -p $? $@
-       chmod -w $@
+       rm -f $@ && cp -p $? $@ && chmod -w $@
 
 all: mkws.min.js mkws-complete.min.js