File: rules

package info (click to toggle)
apt-dater 1.0.4-8
  • links: PTS
  • area: main
  • in suites: trixie
  • size: 2,148 kB
  • sloc: ansic: 6,668; sh: 799; xml: 491; makefile: 162; perl: 128; sed: 16
file content (28 lines) | stat: -rwxr-xr-x 725 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
24
25
26
27
28
#!/usr/bin/make -f

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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

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

%:
	dh $@

override_dh_auto_install:
	dh_auto_install --destdir=$(CURDIR)/debian/tmp

override_dh_auto_configure:
	cp -f $(CURDIR)/conf/apt-dater.xml.inc $(CURDIR)/conf/hosts.xml.inc $(CURDIR)/conf/tmux.conf.inc $(CURDIR)/debian/
	dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS)

override_dh_auto_clean:
	cp -f $(CURDIR)/debian/apt-dater.xml.inc $(CURDIR)/debian/hosts.xml.inc $(CURDIR)/debian/tmux.conf.inc $(CURDIR)/conf/ || true
	dh_auto_clean