Remove arbitrary distclean rule.
authorMike Taylor <mike@indexdata.com>
Thu, 3 Jul 2014 11:16:10 +0000 (12:16 +0100)
committerMike Taylor <mike@indexdata.com>
Thu, 3 Jul 2014 11:16:10 +0000 (12:16 +0100)
tools/htdocs/Makefile

index 82d4e7e..c413ca1 100644 (file)
@@ -24,20 +24,8 @@ COMPONENTS = ${SRC}/mkws-handlebars.js \
 GENERATED = ${HANDLEBARS_FILE} ${JQUERY_FILE} ${JQUERY_JSON_FILE} ${PP2_FILE} \
        mkws.js mkws.min.js mkws-complete.js mkws-complete.min.js
 
-INSTALLABLE = ${SRC}/mkws-jquery.js VERSION NEWS $(GENERATED)
-
-INSTALLED = $(INSTALLABLE:%=../tools/htdocs/%)
-
 **make-default**: mkws.js
 
-install: $(INSTALLED)
-
-uninstall:
-       rm -f $(INSTALLED)
-
-../tools/htdocs/%: %
-       rm -f $@ && cp -p $? $@ && chmod 444 $@
-
 all: mkws.min.js mkws-complete.min.js
 
 mkws-js mkws-complete.js: Makefile mkws.js ${SRC}/mkws-jquery.js ${HANDLEBARS_FILE} ${JQUERY_FILE} ${JQUERY_JSON_FILE} ${PP2_FILE}
@@ -99,7 +87,7 @@ mkws.js: $(COMPONENTS) Makefile
        chmod 444 $@
 
 distclean: clean
-       rm -f *.orig *.bak *.rej
+       @echo "(No need for distclean, 'make clean' is fine)"
 
 clean:
        rm -f ${GENERATED}