SUBDIRS = \ data \ man \ po \ src \ tests EXTRA_DIST = \ CREDITS.md \ INSTALL.md \ LICENSE \ MANUAL.md \ README.md \ lic/Expat \ lic/GPL \ lic/IJG \ lic/LGPL \ lic/libpng \ lic/libtiff \ lic/regex \ lic/wxWindows \ lic/zlib \ tests/samples DISTCLEANFILES = \ tests/samples/perf.wav .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