File: rules

package info (click to toggle)
dbus-c%2B%2B 0.9.0-8.2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,764 kB
  • sloc: sh: 10,179; cpp: 7,696; makefile: 355; xml: 335; ansic: 109
file content (26 lines) | stat: -rwxr-xr-x 751 bytes parent folder | download | duplicates (4)
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
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --enable-glib --enable-ecore \
	                     --enable-doxygen-docs

override_dh_install:
	# Install documentation:
	# Upstream dumps everything generated by doxygen into a tarball,
	# so we need to untar it and install everything into the right place
	tar xjf $(CURDIR)/libdbus-c---$(DEB_VERSION_UPSTREAM)-doc.tar.bz2
	mkdir -p $(CURDIR)/debian/tmp/usr/share/doc/libdbus-c++-doc/
	mv libdbus-c---$(DEB_VERSION_UPSTREAM)-doc/* \
	   $(CURDIR)/debian/tmp/usr/share/doc/libdbus-c++-doc/
	
	dh_install

override_dh_strip:
	dh_strip --dbg-package=libdbus-c++-dbg