File: rules

package info (click to toggle)
popa3d 1.0.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 480 kB
  • sloc: ansic: 2,334; sh: 106; makefile: 61
file content (19 lines) | stat: -rwxr-xr-x 612 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 DEB_BUILD_MAINT_OPTIONS = hardening=+all

override_dh_auto_build:
	dh_auto_build -- LDFLAGS="$(LDFLAGS)" LIBS="-lpam" CFLAGS="$(CPPFLAGS) $(CFLAGS)"

override_dh_auto_install:
	dh_auto_install -- DESTDIR=$(CURDIR)/debian/popa3d PREFIX=/usr MANDIR=/usr/share/man

# Default to running the standalone service in keeping with the long-standing
# default behaviour. Users will specifically enable the socket-activated
# service to switch over.
override_dh_installsystemd:
	dh_installsystemd popa3d.service popa3d@.service
	dh_installsystemd --no-enable --no-start popa3d.socket

%:
	dh $@