Files
love/platform/unix/debian/rules.in
T
djcj 4989bd76a0 Update Debian packaging files, move manpage to section 6
Modified application of pull request #43 by bartbes
 - Kept binary in /usr/bin
 - Remove postinst/postrm scripts
2015-07-13 17:32:18 +02:00

32 lines
690 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