1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
#!/usr/bin/make -f
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export CCACHE_DIR=$(CURDIR)/ccache
%:
dh $@ --buildsystem=cmake
override_dh_auto_configure:
dh_auto_configure -- \
-DNETWORKING=ON \
-DUNITTESTS=OFF \
-DTOOLS=OFF \
-DVERBOSE=ON \
-DCOVERAGE=OFF \
-DUSE_CCACHE=ON \
-DCAVEEXPRESS=ON \
-DCAVEPACKER=ON \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DPKGDATADIR=/usr/share/games \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG"
override_dh_installchangelogs:
dh_installchangelogs docs/caveexpress/CHANGELOG
override_dh_missing:
dh_missing --list-missing
override_dh_auto_clean:
override_dh_auto_test:
|