rules 543 B

12345678910111213141516171819202122
  1. #! /usr/bin/make -f
  2. %:
  3. dh $@
  4. # override disabled by default rpath - we need to find libvcmi.so with it:
  5. override_dh_auto_configure:
  6. dh_auto_configure -- \
  7. -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=ON \
  8. -DCMAKE_INSTALL_RPATH=/usr/lib/$(DEB_HOST_MULTIARCH)/vcmi \
  9. -DCMAKE_BUILD_TYPE=RelWithDebInfo \
  10. -DBIN_DIR=games \
  11. -DFORCE_BUNDLED_FL=OFF \
  12. -DENABLE_TEST=0
  13. override_dh_strip:
  14. dh_strip --dbg-package=vcmi-dbg
  15. override_dh_auto_install:
  16. dh_auto_install --destdir=debian/vcmi
  17. override_dh_installdocs:
  18. dh_installdocs --link-doc=vcmi