rules 511 B

123456789101112131415161718192021
  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=Release \
  10. -DENABLE_GOLDMASTER=ON \
  11. -DBIN_DIR=games \
  12. -DFORCE_BUNDLED_FL=OFF \
  13. -DENABLE_TEST=0
  14. override_dh_auto_install:
  15. dh_auto_install --destdir=debian/vcmi
  16. override_dh_installdocs:
  17. dh_installdocs --link-doc=vcmi