From 1b157582357a0a6612ff59b49fb46116bd1c3a44 Mon Sep 17 00:00:00 2001 From: jao Date: Wed, 18 Nov 2020 06:36:19 +0000 Subject: clean-ups for web page generation --- doc/web/makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'doc/web/makefile') diff --git a/doc/web/makefile b/doc/web/makefile index eb6b212..e9596d7 100644 --- a/doc/web/makefile +++ b/doc/web/makefile @@ -2,7 +2,8 @@ index.src = ../../readme.md index = readme.md releases = ../../changelog.md css = xmobar.css -images = ../xmobar-sawfish.png ../xmobar-xmonad.png +images = ../screenshots/xmobar-bottom.png ../screenshots/xmobar-top.png \ + ../screenshots/xmobar-exwm.png remote = root@xmobar.org:/var/www/xmobar.org/ htmls = index.html releases.html title = % xmobar - a minimalistic status bar @@ -13,18 +14,15 @@ $(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 \ + pandoc -f markdown -t html -c $(css) -N -s \ $(index) > index.html releases.html: $(releases) $(css) pandoc -f markdown -t html -c $(css) -s \ $(releases) > releases.html -imgs: - cp $(images) . - -upload-images: imgs - rsync -zav $(images) $(remote) +upload-images: + rsync -zav $(images) $(remote)/doc/screenshots upload-pages: $(htmls) scp $(htmls) $(css) $(remote) -- cgit v1.2.3