wscript: adjust ./waf dist (to be ladish alike)
[jackdbus.git] / GNUmakefile
bloba859b5533c8bb5ce57350d25f41e6c35ddd89262
1 TOP:=$(shell pwd)
3 .PHONY: jack2dbus
4 jack2dbus:
5 rm -rf jack2
6 git clone -b $(shell git symbolic-ref --short HEAD) --recurse-submodules --shallow-submodules https://github.com/LADI/jack2
7 cd jack2 && python3 ./waf configure --prefix=$(TOP)/destdir/usr
8 cd jack2 && python3 ./waf
9 cd jack2 && python3 ./waf install
10 PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:$(TOP)/destdir/usr/lib/pkgconfig python3 ./waf configure --prefix=$(TOP)/destdir/usr
11 python3 ./waf
12 python3 ./waf install
14 README.html: README.adoc GNUmakefile
15 asciidoc -b html5 -a data-uri -a icons --theme ladi -o README.html README.adoc
17 .PHONY: AUTHORS.regenerate
18 AUTHORS.regenerate:
19 git shortlog -sn -- wscript ./dbus/* linux/* man/* ./doc/* | sed -E 's@^\s+\S+\s+(.+)@\1@' > AUTHORS
21 .PHONY: doc/jackdbus.html
22 doc/jackdbus.html:
23 asciidoc -b html5 -a icons -a data-uri --theme ladi -o doc/jackdbus.html README.adoc
25 .PHONY: dist
26 dist:
27 git submodule update --init
28 python3 ./waf configure --prefix=/usr/local
29 python3 ./waf
30 python3 ./waf dist