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
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --buildsystem=cmake
override_dh_auto_configure:
dh_auto_configure -- -DBUILD_SHARED_LIBS=OFF \
-DENABLE_BOOST_STATIC_LIBS=OFF \
-DIS_SUPERTUX_RELEASE=ON
override_dh_install:
# Fix lintian warning script-not-executable
chmod +x $(CURDIR)/debian/tmp/usr/share/games/supertux2/sounds/normalize.sh
# Remove unneeded files
rm -rf $(CURDIR)/debian/tmp/usr/share/doc/supertux2
cp $(CURDIR)/data/images/engine/icons/supertux-256x256.png supertux.png
dh_install --exclude=COPYING
override_dh_installchangelogs:
dh_installchangelogs NEWS.md
override_dh_clean:
dh_clean
$(RM) supertux.png
|