1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-28 23:06:24 +02:00
vcmi/debian/rules

24 lines
571 B
Plaintext
Raw Normal View History

#! /usr/bin/make -f
2010-10-27 05:00:25 +03:00
%:
dh $@
# override disabled by default rpath - we need to find libvcmi.so with it:
override_dh_auto_configure:
2020-10-01 13:28:43 +02:00
dh_auto_configure -- \
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=ON \
-DCMAKE_INSTALL_RPATH=/usr/lib/$(DEB_HOST_MULTIARCH)/vcmi \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
2023-04-14 13:51:26 +02:00
-DENABLE_GITVERSION=OFF \
2020-10-01 13:28:43 +02:00
-DBIN_DIR=games \
-DFORCE_BUNDLED_FL=OFF \
-DENABLE_TEST=0
2020-10-01 13:28:43 +02:00
override_dh_strip:
dh_strip --dbg-package=vcmi-dbg
override_dh_auto_install:
dh_auto_install --destdir=debian/vcmi
override_dh_installdocs:
dh_installdocs --link-doc=vcmi