File: rules

package info (click to toggle)
flip 1.20-4
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 196 kB
  • sloc: ansic: 1,186; cpp: 172; makefile: 124; sh: 61
file content (25 lines) | stat: -rwxr-xr-x 574 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS  = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic -DBSD -DIX -DSTDINCLUDE
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

override_dh_auto_install:
	# See debian/install

override_dh_installman:
	dh_installman
	cd debian/flip/usr/bin && { ln -s flip toix; ln -s flip toms; }
	cd debian/flip/usr/share/man/man1 && \
	{ ln -s flip.1 toix.1 ; ln -s flip.1 toms.1 ; }

override_dh_missing:
	dh_missing --fail-missing

%:
	dh $@

# End of file