1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND=-DNDEBUG
export DEB_CXXFLAGS_MAINT_APPEND=-DNDEBUG
export DEB_LDFLAGS_MAINT_APPEND = -fPIE -pie
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- \
-DDISABLE_VERSION_CHECKER=ON \
-DCMAKE_INSTALL_BINDIR=/usr/games \
-DDOWNLOAD_TITLE_SEQUENCES=OFF \
-DDOWNLOAD_OBJECTS=OFF \
-DDOWNLOAD_REPLAYS=OFF \
-DDOWNLOAD_OPENSFX=OFF \
-DDOWNLOAD_OPENMUSIC=OFF
override_dh_auto_install:
dh_auto_install
find ./debian -name libopenrct2.a -delete
find ./debian -empty -type d -delete
|