SUBDIRS = \ data \ man \ po \ src \ tests EXTRA_DIST = \ INSTALL.md \ LICENCE.md \ MANUAL.md \ README.md \ intltool-extract.in \ intltool-merge.in \ intltool-update.in \ lic/Expat \ lic/GPL \ lic/IJG \ lic/LGPL \ lic/libpng \ lic/libtiff \ lic/regex \ lic/wxWindows \ lic/zlib \ tests/samples DISTCLEANFILES = \ intltool-extract \ intltool-merge \ intltool-update .PHONY: man upload man: pandoc --standalone --to=man --output=man/spek.1 MANUAL.md pandoc --standalone --to=html --output=web/man-@VERSION@.html MANUAL.md sed -e 's#\(http://[^<]*\)#\1#g' -i '' web/man-@VERSION@.html sed -e 's##\ #' -i '' web/man-@VERSION@.html upload: rsync -avhz web/nginx.conf server:spek rsync -avhz --delete --exclude="*.in" --exclude="nginx.conf" web/ server:spek/static