File: rules

package info (click to toggle)
xflip 1.01-28
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 184 kB
  • sloc: ansic: 895; makefile: 11
file content (18 lines) | stat: -rwxr-xr-x 385 bytes parent folder | download | duplicates (2)
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