Files
2017-07-23 15:49:41 -04:00

32 lines
721 B
Makefile
Executable File

#!/usr/bin/make -f
commonflags = -Wall -Wno-maybe-uninitialized -Wno-strict-aliasing
CFLAGS += $(commonflags)
CXXFLAGS += $(commonflags)
%:
dh $@ --parallel --with autoreconf
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
override_dh_installchangelogs:
dh_installchangelogs changes.txt
override_dh_installman:
cp -f platform/unix/love.6 platform/unix/love-unstable.6
dh_installman
override_dh_strip:
dh_strip -pliblove@LOVE_SUFFIX@0 --dbg-package=liblove@LOVE_SUFFIX@-dbg
dh_strip --remaining-packages