File: rules

package info (click to toggle)
gophernicus 3.1.1-3.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 492 kB
  • sloc: ansic: 2,326; sh: 718; makefile: 173
file content (23 lines) | stat: -rwxr-xr-x 468 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	./configure \
		--gopherroot=/srv/gopher \
		--listener=systemd,xinetd \
		--systemd=/usr/lib/systemd/system \
		--prefix=/usr

override_dh_auto_install:
	dh_auto_install
	# Don't install directories under /srv. See README.Debian.
	rm -fr debian/gophernicus/srv
	rm -fr debian/gophernicus/etc/sysconfig

override_dh_auto_clean:
	dh_auto_clean
	rm -f Makefile