From f17f51e55209fb829337b7275c66fd577ab53982 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Tue, 20 Sep 2011 04:49:55 +0200 Subject: web generation files added --- web/Makefile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 web/Makefile (limited to 'web/Makefile') diff --git a/web/Makefile b/web/Makefile new file mode 100644 index 0000000..6f807e9 --- /dev/null +++ b/web/Makefile @@ -0,0 +1,25 @@ +index = ../README +releases = ../NEWS +css = xmobar.css +images = xmobar-sawfish.png xmobar-xmonad.png +remote = community.haskell.org:/srv/projects/xmobar/ +htmls = index.html releases.html + +index.html: releases.html $(index) $(css) + pandoc -f markdown -t html -c $(css) --toc -N -s \ + $(index) > index.html + +releases.html: $(releases) $(css) + pandoc -f markdown -t html -c $(css) -s \ + $(releases) > releases.html + +upload-images: + rsync -zav $(images) $(remote) + +upload-pages: $(htmls) + rsync -zav $(htmls) $(css) $(remote) + +upload: upload-images upload-pages + +clean: + rm -f $(htmls) -- cgit v1.2.3