File: rules

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

export DEB_BUILD_MAINT_OPTIONS  = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic -DBSD -DIX -DSTDINCLUDE -DANSIPROTO

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

override_dh_auto_install:
	# See debian/install

override_dh_auto_build:
	dh_auto_build -- 'LD=$$(CC)'

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 ; }

%:
	dh $@

# End of file