2012-11-03 22:31:16 +03:00
|
|
|
#! /usr/bin/make -f
|
2010-10-27 05:00:25 +03:00
|
|
|
|
2012-11-03 22:31:16 +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 \
|
2024-03-27 16:50:09 +02:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
2024-04-25 18:18:36 +02:00
|
|
|
-DENABLE_GOLDMASTER=ON \
|
2020-10-01 13:28:43 +02:00
|
|
|
-DBIN_DIR=games \
|
2020-11-12 13:59:06 +02:00
|
|
|
-DFORCE_BUNDLED_FL=OFF \
|
|
|
|
-DENABLE_TEST=0
|
2020-10-01 13:28:43 +02:00
|
|
|
|
2013-12-03 12:03:37 +03:00
|
|
|
override_dh_auto_install:
|
|
|
|
dh_auto_install --destdir=debian/vcmi
|
|
|
|
override_dh_installdocs:
|
|
|
|
dh_installdocs --link-doc=vcmi
|
|
|
|
|