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