File: rules

package info (click to toggle)
xflip 1.01-27
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 152 kB
  • ctags: 78
  • sloc: ansic: 633; makefile: 11
file content (18 lines) | stat: -rwxr-xr-x 385 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_build:
	dh_auto_build
	xmkmf -a
	sed -i 's/^EXTENSIONLIB =.*/EXTENSIONLIB = /' Makefile
	$(MAKE) CFLAGS="$(CFLAGS)" LOCAL_LDFLAGS="$(LDFLAGS)"

override_dh_auto_install:
	dh_auto_install
	# Rename flip:
	mv -f debian/xflip/usr/games/flip debian/xflip/usr/games/xflip