File: rules

package info (click to toggle)
apt-dater 1.0.3-4
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 2,056 kB
  • sloc: ansic: 6,602; sh: 4,968; xml: 491; makefile: 154; perl: 128; sed: 16
file content (23 lines) | stat: -rwxr-xr-x 496 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

SOURCE_DATE_EPOCH := $(shell date -d "$(shell dpkg-parsechangelog --count 1 -SDate)" +%s)

DEB_CONFIGURE_EXTRA_FLAGS := \
	--enable-tclfilter \
	--enable-xmlreport \
	--enable-autoref \
	--enable-history \
	--enable-clusters \
	--enable-debug \
	--enable-tmux

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS)

override_dh_strip:
	dh_strip --dbg-package=apt-dater-dbg