Update debian package files for cmake variables

And automatically get the timestamp for the changelog too.
That does require an update to cmake 3.7, but as far as I can tell we never use a cmake version older than 3.16 (ubuntu 20.04).
This commit is contained in:
Bart van Strien
2024-01-06 12:04:25 +01:00
parent d7f29c8860
commit ac9ee9d3c7
4 changed files with 14 additions and 20 deletions
+3 -11
View File
@@ -1,22 +1,14 @@
#!/usr/bin/make -f
commonflags = -Wall -Wno-maybe-uninitialized -Wno-strict-aliasing
CFLAGS += $(commonflags)
CXXFLAGS += $(commonflags)
%:
dh $@ --parallel --with autoreconf
dh $@ --parallel
override_dh_auto_clean:
dh_auto_clean
rm -f platform/unix/love-unstable.6
override_dh_auto_configure:
dh_auto_configure -- --with-lua=luajit
override_dh_installdocs:
dh_installdocs --link-doc=liblove@LOVE_SUFFIX@0
dh_installdocs --link-doc=@LOVE_LIB_NAME@0
override_dh_installchangelogs:
dh_installchangelogs changes.txt
@@ -26,6 +18,6 @@ override_dh_installman:
dh_installman
override_dh_strip:
dh_strip -pliblove@LOVE_SUFFIX@0 --dbg-package=liblove@LOVE_SUFFIX@-dbg
dh_strip -p@LOVE_LIB_NAME@0 --dbg-package=@LOVE_LIB_NAME@-dbg
dh_strip --remaining-packages