spek

Acoustic spectrum analyser https://github.com/alexkay/spek spek.cc
git clone http://git.hanabi.in/repos/spek.git
Log | Files | Refs | README

Makefile.am (994B)


      1 SUBDIRS = \
      2 	data \
      3 	man \
      4 	po \
      5 	src \
      6 	tests
      7 
      8 EXTRA_DIST = \
      9 	INSTALL.md \
     10 	LICENCE.md \
     11 	MANUAL.md \
     12 	README.md \
     13 	intltool-extract.in \
     14 	intltool-merge.in \
     15 	intltool-update.in \
     16 	lic/Expat \
     17 	lic/GPL \
     18 	lic/IJG \
     19 	lic/LGPL \
     20 	lic/libpng \
     21 	lic/libtiff \
     22 	lic/regex \
     23 	lic/wxWindows \
     24 	lic/zlib \
     25 	tests/samples
     26 
     27 DISTCLEANFILES = \
     28 	intltool-extract \
     29 	intltool-merge \
     30 	intltool-update
     31 
     32 .PHONY: man upload
     33 
     34 man:
     35 	pandoc --standalone --to=man --output=man/spek.1 MANUAL.md
     36 	pandoc --standalone --to=html --output=web/man-@VERSION@.html MANUAL.md
     37 	sed -e 's#<I>\(http://[^<]*\)</I>#<I><a href="\1">\1</a></I>#g' -i '' web/man-@VERSION@.html
     38 	sed -e 's#<head>#<head>\
     39 		<style type="text/css">\
     40 			body {font-size: 11pt;}\
     41 			h1, h2, h3 {font-weight: bold;}\
     42 			h1 {font-size: 13pt;}\
     43 			h2, h3 {font-size: 12pt;}\
     44 		</style>#' -i '' web/man-@VERSION@.html
     45 
     46 upload:
     47 	rsync -avhz web/nginx.conf server:spek
     48 	rsync -avhz --delete --exclude="*.in" --exclude="nginx.conf" web/ server:spek/static