blob: 1f3053a02855f672fbe60bbcb5c88ef5e8cdabe3 (
plain)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
#!/usr/bin/make -f
DEB_PYTHON_SYSTEM=pycentral
PY_VERSIONS = $(shell pyversions --requested debian/control)
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools-vars.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
DEB_CONFIGURE_EXTRA_FLAGS += --enable-gtk-doc
configure-stamp-%:
mkdir build-$*
cd build-$* && PYTHON=`which $*` \
$(DEB_CONFIGURE_SCRIPT) $(DEB_CONFIGURE_NORMAL_ARGS) --srcdir=..
touch $@
configure/python-appindicator:: $(addprefix configure-stamp-, $(PY_VERSIONS))
build-stamp-%:
make -C build-$*/bindings/python
touch $@
build/python-appindicator:: $(addprefix build-stamp-, $(PY_VERSIONS))
install-stamp-%:
make -C build-$*/bindings/python install DESTDIR=$(CURDIR)/debian/tmp
touch $@
install/python-appindicator:: $(addprefix install-stamp-, $(PY_VERSIONS))
binary-install/python-appindicator::
dh_pycentral
configure-stamp:
$(DEB_CONFIGURE_SCRIPT) $(DEB_CONFIGURE_NORMAL_ARGS) $(DEB_CONFIGURE_EXTRA_FLAGS)
touch $@
configure/indicator-application:: configure-stamp
build-stamp:
make
touch $@
build/indicator-application:: build-stamp
install-stamp:
make install DESTDIR=$(CURDIR)/debian/tmp
touch $@
install/indicator-application:: install-stamp
binary-post-install/indicator-application::
find debian/indicator-application/usr/lib -name \*.la -exec rm {} \;
find debian/indicator-application/usr/lib -name \*.a -exec rm {} \;
clean::
-rm -rf $(addprefix build-, $(PY_VERSIONS))
-rm -rf $(addprefix configure-stamp-, $(PY_VERSIONS))
-rm -rf $(addprefix build-stamp-, $(PY_VERSIONS))
-rm -rf $(addprefix install-stamp-, $(PY_VERSIONS))
|