File: rules

package info (click to toggle)
xgammon 0.99.1128-10
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 552 kB
  • sloc: ansic: 5,042; lex: 589; makefile: 12
file content (19 lines) | stat: -rwxr-xr-x 483 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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 -- CCOPTIONS="$(CFLAGS) $(CPPFLAGS) $(LDFLAGS)"

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

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