File: rules

package info (click to toggle)
oddjob 0.34.7-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,520 kB
  • sloc: ansic: 6,003; sh: 4,517; makefile: 258; python: 3
file content (29 lines) | stat: -rwxr-xr-x 688 bytes parent folder | download
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
29
#!/usr/bin/make -f

# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
export deb_systemdsystemunitdir = $(shell pkg-config --variable=systemdsystemunitdir systemd | sed s,^/,,)

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		--sbindir=/usr/sbin \
		--disable-static \
		--disable-dependency-tracking \
		--enable-pie \
		--enable-now \
		--enable-systemd \
		--enable-xml-docs \
		--enable-compat-dtd \
		--with-selinux-acls \
		--with-selinux-labels \
		--without-python

override_dh_install:
	# purge .la files
	find $(CURDIR)/debian/tmp -name "*.la" -type f -exec rm -f "{}" \;

	dh_install