| 1 |
|
| 2 |
|
| 3 |
PKG_EXPORT_BUILDFLAGS = 1 |
| 4 |
include /usr/share/dpkg/buildflags.mk |
| 5 |
|
| 6 |
export DEB_CFLAGS_MAINT_APPEND = -DDATADIR=\"/usr/share/games/nikwi\" |
| 7 |
export DEB_CXXFLAGS_MAINT_APPEND = -DDATADIR=\"/usr/share/games/nikwi\" |
| 8 |
|
| 9 |
%: |
| 10 |
dh $@ |
| 11 |
|
| 12 |
override_dh_auto-build: |
| 13 |
dh_auto_build --buildsystem=makefile --sourcedirectory=src -- -f Makefile.debian |
| 14 |
dh_auto_build --buildsystem=makefile --sourcedirectory=src/nikwi -- -f Makefile.debian |
| 15 |
dh_auto_build --buildsystem=makefile --sourcedirectory=src/tools -- -f Makefile.debian |
| 16 |
sh makedata.sh |
| 17 |
sh makepack.sh |