File: rules

package info (click to toggle)
libpst 0.6.76-1.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 17,928 kB
  • sloc: ansic: 7,673; sh: 4,730; javascript: 1,950; cpp: 1,691; makefile: 137; xml: 3
file content (21 lines) | stat: -rwxr-xr-x 489 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
#!/usr/bin/make -f

#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed,--no-undefined,--no-add-needed

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

%:
	dh $@

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

override_dh_installdocs:
	dh_installdocs -A AUTHORS TODO NEWS

override_dh_makeshlibs:
	dh_makeshlibs -- -c4