File: rules

package info (click to toggle)
xgammon 0.99.1128-8
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 544 kB
  • sloc: ansic: 5,042; lex: 589; makefile: 14
file content (21 lines) | stat: -rwxr-xr-x 479 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
#!/usr/bin/make -f

INSTALL = install
INSTALL_FILE = $(INSTALL) -p -m 644

export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-format

%:
	dh $@

override_dh_auto_build:
	cd src && imake -I/usr/lib/X11/config
	dh_auto_build --sourcedirectory=src -- CFLAGS="$(CFLAGS)"

override_dh_auto_clean:
	dh_auto_clean
	[ ! -f src/Makefile ] || ( cd src && $(MAKE) clean )

override_dh_install:
	$(INSTALL_FILE) src/xgammon.ad $(CURDIR)/debian/xgammon/etc/X11/app-defaults/XGammon
	dh_install