blob: 37484a87da8596a753a7fdb7365075777bc77de4 (
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
|
#!/usr/bin/make -f
BUILDDIR = $(CURDIR)/debian/build
libwibble_source = $(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W libwibble-dev)
tagcoll2_source = $(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W libtagcoll2-dev)
%:
dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR)
override_dh_fixperms:
dh_fixperms
test -e /usr/bin/dh_buildinfo && dh_buildinfo
override_dh_auto_build:
dh_auto_build
make -C $(BUILDDIR) unit
make -C $(BUILDDIR) doc
override_dh_auto_install:
dh_auto_install
dh_installdocs -plibept-dev -n $(BUILDDIR)/doc/html
dh_installdocs -plibept-dev -n $(BUILDDIR)/doc/libept.doxytags
override_dh_gencontrol:
dh_gencontrol -- \
-Vlibwibble:Source="$(libwibble_source)" \
-Vtagcoll2:Source="$(tagcoll2_source)"
debsrc:
debian/check_versions
gbp buildpackage --git-pristine-tar -S -us -uc
|