Add 'pub' talk for publishing built files
authorBen Hutchings <ben@decadent.org.uk>
Sun, 23 Jan 2011 01:54:17 +0000 (11:54 +1000)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 23 Jan 2011 01:54:17 +0000 (11:54 +1000)
.gitignore
Makefile

index 0b84cec..864f452 100644 (file)
@@ -2,3 +2,4 @@ s5-checksums.txt
 s5-blank
 *.dia.svg
 *.xcf.png
+pub
index 9a7bd46..73a523c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,4 +18,9 @@ s5-checksums.txt: /usr/share/s5/s5-blank
 ' (gimp-file-save RUN-NONINTERACTIVE image layer "$@" "$@"))           '\
 '(gimp-quit 0)'
 
-.PHONY: all clean
+pub:
+       rm -rf pub
+       mkdir pub
+       cp -R -t pub index.html s5-blank *.svg *.png
+
+.PHONY: all clean pub