]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/on-line/javascript/Makefile
This commit was manufactured by cvs2svn to create branch 'start'.
[helm.git] / helm / on-line / javascript / Makefile
diff --git a/helm/on-line/javascript/Makefile b/helm/on-line/javascript/Makefile
new file mode 100644 (file)
index 0000000..a2e2808
--- /dev/null
@@ -0,0 +1,19 @@
+
+TARGETS = control.js_xml defaults.js_xml utils.js_xml
+
+.SUFFIXES:
+.SUFFIXES: .js .js_xml
+
+.js.js_xml:
+       @echo "<?xml version='1.0'?>" >$@
+       @echo "<script>" >>$@
+       @echo "<![CDATA[" >>$@
+       @cat $< >>$@
+       @echo "]]>" >>$@
+       @echo "</script>" >>$@
+
+all: $(TARGETS)
+
+clean:
+       rm -rf $(TARGETS)
+