summaryrefslogtreecommitdiffhomepage
path: root/web/Makefile
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2018-11-25 15:26:44 +0000
committerjao <jao@gnu.org>2018-11-25 15:26:44 +0000
commitf86bbb8ca5d3ba0d18e333cbe6cb57cc17e3ae07 (patch)
treeba34733d783dfcb65234ed835deac13a9a9c100e /web/Makefile
parentb12fe3ebdaf3a4a539b85f742a582925d7e811f1 (diff)
downloadxmobar-f86bbb8ca5d3ba0d18e333cbe6cb57cc17e3ae07.tar.gz
xmobar-f86bbb8ca5d3ba0d18e333cbe6cb57cc17e3ae07.tar.bz2
doc, examples
Diffstat (limited to 'web/Makefile')
-rw-r--r--web/Makefile32
1 files changed, 0 insertions, 32 deletions
diff --git a/web/Makefile b/web/Makefile
deleted file mode 100644
index 411f589..0000000
--- a/web/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-index.src = ../readme.md
-index = readme.md
-releases = ../news.md
-css = xmobar.css
-images = xmobar-sawfish.png xmobar-xmonad.png
-remote = community.haskell.org:/srv/projects/xmobar/
-htmls = index.html releases.html
-title = % xmobar - a minimalistic status bar
-
-default: index.html
-
-$(index): $(index.src)
- @tail -n+3 $(index.src) | sed "1s/^/$(title)\n/" > $(index)
-
-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)
- scp $(htmls) $(css) $(remote)
-
-upload: upload-images upload-pages
-
-clean:
- rm -f $(htmls) $(index)