-
Notifications
You must be signed in to change notification settings - Fork 0
/
GNUmakefile
46 lines (39 loc) · 1.24 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
.PHONY: default
default:
@echo "This is a project that uses the WAF build system."
@echo ""
@echo "A typical command sequence for configuring,"
@echo "building and installing the software is:"
@echo ""
@echo " ./waf configure --prefix=${HOME}/opt/"
@echo " ./waf"
@echo " ./waf install"
@echo ""
@echo "To get more info about waf configure parameters, run:"
@echo ""
@echo " ./waf configure --help"
@echo ""
@echo "Read the README.rst file for more info."
@echo ""
TOP := $(shell pwd)
EPREFIX := $(TOP)/build/destdir
.PHONY: cibuild
cibuild:
./waf configure --prefix=$(EPREFIX) && ./waf install && $(EPREFIX)/bin/jpl
.PHONY: doxdoc
doxdoc:
mkdir -vp build
echo "@mainpage Main page" > build/README.md
cat README.md >> build/README.md
doxygen doc/Doxyfile
cp doc/doxygen-awesome-css/doxygen-awesome-darkmode-toggle.js build/doxout/html/
.PHONY: doxdoc_copy
doxdoc_copy: doxdoc
rm -rf ../jack-plugin-docs/libjpl-api/
cp -Rv build/doxout/html ../jack-plugin-docs/libjpl-api
.PHONY: cdbus_regenerate
cdbus_regenerate: appman_defs.c
# force regenerate (so cdbus-codegen changes apply)
.PHONY: appman_defs.c
appman_defs.c: org.ladish.applicationmanager.xml
cat org.ladish.applicationmanager.xml | cdbus-codegen jpl_appman > appman_defs.c