File: rules

package info (click to toggle)
daemon 0.8.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,072 kB
  • sloc: ansic: 30,432; sh: 4,310; perl: 592; makefile: 307
file content (19 lines) | stat: -rwxr-xr-x 491 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export DPKG_EXPORT_BUILDFLAGS=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
include /usr/share/dpkg/default.mk

PACKAGENAME=daemon

%:
	dh $@ --no-parallel

override_dh_auto_configure:
	./configure --prefix=/usr --enable-logind --disable-mail-test

override_dh_auto_install:
	$(MAKE) PREFIX=debian/daemon/usr install
	mkdir -p debian/daemon/etc
	$(MAKE) CONF_INSDIR=$(shell pwd)/debian/daemon/etc install-daemon-conf