summaryrefslogtreecommitdiffhomepage
path: root/doc/web
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2019-04-23 23:09:25 +0100
committerjao <jao@gnu.org>2019-04-23 23:12:53 +0100
commit0ff8f6a7d6c775efa35698e067b4dd6c036ee2cd (patch)
tree5e1a3000a6d3bd92cabc06041bc94f57c0fa1893 /doc/web
parent7122b1e33a0078f93f21e77e2c0c985391d1d412 (diff)
downloadxmobar-0ff8f6a7d6c775efa35698e067b4dd6c036ee2cd.tar.gz
xmobar-0ff8f6a7d6c775efa35698e067b4dd6c036ee2cd.tar.bz2
Web makefile
Diffstat (limited to 'doc/web')
-rw-r--r--doc/web/makefile (renamed from doc/web/Makefile)15
l---------doc/web/xmobar-sawfish.png1
l---------doc/web/xmobar-xmonad.png1
-rw-r--r--doc/web/xmobar.css2
4 files changed, 10 insertions, 9 deletions
diff --git a/doc/web/Makefile b/doc/web/makefile
index 411f589..eb6b212 100644
--- a/doc/web/Makefile
+++ b/doc/web/makefile
@@ -1,9 +1,9 @@
-index.src = ../readme.md
+index.src = ../../readme.md
index = readme.md
-releases = ../news.md
+releases = ../../changelog.md
css = xmobar.css
-images = xmobar-sawfish.png xmobar-xmonad.png
-remote = community.haskell.org:/srv/projects/xmobar/
+images = ../xmobar-sawfish.png ../xmobar-xmonad.png
+remote = root@xmobar.org:/var/www/xmobar.org/
htmls = index.html releases.html
title = % xmobar - a minimalistic status bar
@@ -20,7 +20,10 @@ releases.html: $(releases) $(css)
pandoc -f markdown -t html -c $(css) -s \
$(releases) > releases.html
-upload-images:
+imgs:
+ cp $(images) .
+
+upload-images: imgs
rsync -zav $(images) $(remote)
upload-pages: $(htmls)
@@ -29,4 +32,4 @@ upload-pages: $(htmls)
upload: upload-images upload-pages
clean:
- rm -f $(htmls) $(index)
+ rm -f $(htmls) $(index) *.png
diff --git a/doc/web/xmobar-sawfish.png b/doc/web/xmobar-sawfish.png
deleted file mode 120000
index b3e6bb9..0000000
--- a/doc/web/xmobar-sawfish.png
+++ /dev/null
@@ -1 +0,0 @@
-../xmobar-sawfish.png \ No newline at end of file
diff --git a/doc/web/xmobar-xmonad.png b/doc/web/xmobar-xmonad.png
deleted file mode 120000
index 26ea6e3..0000000
--- a/doc/web/xmobar-xmonad.png
+++ /dev/null
@@ -1 +0,0 @@
-../xmobar-xmonad.png \ No newline at end of file
diff --git a/doc/web/xmobar.css b/doc/web/xmobar.css
index 54a44c6..531a146 100644
--- a/doc/web/xmobar.css
+++ b/doc/web/xmobar.css
@@ -13,7 +13,7 @@ body {
}
pre {
border: 1px dotted gray;
- background-color: #efebe7;
+ background-color: #fafafa;
color: #111111;
padding: 0.5em;
}