rules 571 B

1234567891011121314151617181920212223
  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. -DENABLE_GITVERSION=OFF \
  11. -DBIN_DIR=games \
  12. -DFORCE_BUNDLED_FL=OFF \
  13. -DENABLE_TEST=0
  14. override_dh_strip:
  15. dh_strip --dbg-package=vcmi-dbg
  16. override_dh_auto_install:
  17. dh_auto_install --destdir=debian/vcmi
  18. override_dh_installdocs:
  19. dh_installdocs --link-doc=vcmi