File: rules

package info (click to toggle)
nikwi 0.0.20120213-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,648 kB
  • sloc: cpp: 7,111; ansic: 880; objc: 247; makefile: 68; sh: 48
file content (17 lines) | stat: -rwxr-xr-x 553 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

PKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

export DEB_CFLAGS_MAINT_APPEND = -DDATADIR=\"/usr/share/games/nikwi\"
export DEB_CXXFLAGS_MAINT_APPEND = -DDATADIR=\"/usr/share/games/nikwi\"

%:
	dh $@

override_dh_auto-build:
	dh_auto_build --buildsystem=makefile --sourcedirectory=src -- -f Makefile.debian
	dh_auto_build --buildsystem=makefile --sourcedirectory=src/nikwi -- -f Makefile.debian
	dh_auto_build --buildsystem=makefile --sourcedirectory=src/tools -- -f Makefile.debian
	sh makedata.sh
	sh makepack.sh