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