More accurately name image widget as images
[mkws-moved-to-github.git] / src / Makefile
index 427b818..bd05b9b 100644 (file)
@@ -100,8 +100,8 @@ $(DEST)/mkws.js: $(COMPONENTS) Makefile
        mv -f $@.tmp $@
        chmod 444 $@
 
-mkws-templates.js: *.templates/*.handlebars
-       ${HANDLEBARS} -n mkws.defaultTemplates *.templates/*.handlebars -f $@.tmp
+mkws-templates.js: templates/*.handlebars
+       ${HANDLEBARS} -n mkws.defaultTemplates templates/*.handlebars -f $@.tmp
        mv -f $@.tmp $@
 
 # Checks that the JavaScript can be parsed
@@ -114,7 +114,7 @@ html-includes:
          perl -n0e 'chomp(); print qq{    <script type="text/javascript" src="src/$$_"></script>\n}'
 
 clean distclean:
-       rm -f ${INSTALLED}
+       rm -f ${INSTALLED} mkws-templates.js
 
 help:
        @echo "make [ all | clean | release ]"