File: rules

package info (click to toggle)
liquidwar 5.6.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 26,240 kB
  • sloc: ansic: 26,238; xml: 4,011; sh: 3,825; makefile: 1,346; asm: 1,344; python: 537; php: 487; perl: 29; sql: 22
file content (28 lines) | stat: -rwxr-xr-x 550 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
#!/usr/bin/make -f

#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		--disable-host-opt \
		--disable-doc-txt \
		--disable-doc-info \
		--disable-doc-ps \
		--disable-doc-pdf

override_dh_auto_install:
	$(MAKE) install_nolink DESTDIR=$(CURDIR)/debian/tmp

override_dh_link:
	rm -rf debian/liquidwar/usr/share/doc/liquidwar
	dh_link

override_dh_installman:
	rm -rf debian/tmp/usr/share/man
	mv doc/man/liquidwar.6.gz doc/man/liquidwar-server.6.gz
	dh_installman