File: rules

package info (click to toggle)
libpst 0.6.59-1%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 17,300 kB
  • sloc: sh: 10,494; ansic: 7,360; cpp: 1,684; makefile: 140; xml: 3
file content (26 lines) | stat: -rwxr-xr-x 605 bytes parent folder | download | duplicates (3)
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

#export DH_VERBOSE=1
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed,--no-undefined,--no-add-needed

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@ --with autotools-dev --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --disable-rpath --enable-libpst-shared --disable-python
	# TODO: --enable-python

override_dh_installdocs:
	dh_installdocs -Nreadpst -A AUTHORS TODO

override_dh_installchangelogs:
	dh_installchangelogs -Nreadpst

override_dh_strip:
	dh_strip --dbg-package=libpst4-dbg

override_dh_makeshlibs:
	dh_makeshlibs -- -c4