summaryrefslogtreecommitdiff
path: root/bug/Makefile
diff options
context:
space:
mode:
authorLoic Dachary <loic@dachary.org>2011-09-21 14:42:28 +0200
committerLoic Dachary <loic@dachary.org>2011-09-21 14:42:28 +0200
commitb600ead9106b7304f6c010d1edf747a2dff41362 (patch)
treecadd20b8ea48e5f1a828d8401169d01c54186700 /bug/Makefile
parent4be1639b0c3a7461ab2d8eab83f42bf009b7204f (diff)
append a timestamp at the end of each js and css to make sure they are always reloaded when updated, no matter how agressive the cache policy is
Diffstat (limited to 'bug/Makefile')
-rw-r--r--bug/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/bug/Makefile b/bug/Makefile
index da6d621..5878305 100644
--- a/bug/Makefile
+++ b/bug/Makefile
@@ -10,4 +10,6 @@ extract:
perl query.pl versions < query.xhtml > versions.xhtml
compose:
- xsltproc --encoding UTF-8 --novalid bug.xsl bug.xhtml > bug/bug.html
+ xsltproc --encoding UTF-8 --novalid \
+ --stringparam serial `date +%s` \
+ bug.xsl bug.xhtml > bug/bug.html