rules 780 B

123456789101112131415161718192021222324252627282930313233343536
  1. #!/usr/bin/make -f
  2. # -*- makefile -*-
  3. # Uncomment this to turn on verbose mode.
  4. #export DH_VERBOSE=1
  5. %:
  6. dh $@ --with autoreconf
  7. override_dh_autoreconf:
  8. ./autogen.sh
  9. override_dh_auto_configure:
  10. dh_auto_configure -- --with-im-config-data --enable-gtk-doc
  11. override_dh_auto_clean:
  12. rm -rf $(STAMP_DIR) $(SOURCE_DIR)
  13. dh_clean
  14. override_dh_clean:
  15. dh_clean
  16. rm -rf autom4te.cache
  17. rm -f aclocal.m4 config.log config.status
  18. rm -rf debian/tmp
  19. override_dh_auto_install:
  20. dh_auto_install
  21. # Ensure the correct installation path for GTK 4.0
  22. mkdir -p debian/tmp/usr/lib/x86_64-linux-gnu/gtk-4.0
  23. override_dh_shlibdeps:
  24. dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info -- -l/usr/lib/nimf
  25. # Add this override to skip tests
  26. override_dh_auto_test:
  27. echo "Skipping tests"