]> git.decadent.org.uk Git - lca-dvswitch.git/commitdiff
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 0b84cecdcc2cdd9c5aeede11bb8c27bea9fb8dcc..864f452020d61b42ea3c17a5fd333afff9ead80b 100644 (file)
@@ -2,3 +2,4 @@ s5-checksums.txt
 s5-blank
 *.dia.svg
 *.xcf.png
+pub
index 9a7bd46bbf08688e8c774bb8aa650a3f299ad5b3..73a523c4cb4e413aa5691586c859c04f4f7adc9c 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