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