External, Non-PPA KXStudio Repository
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
660B

  1. #!/usr/bin/make -f
  2. include /usr/share/dpkg/kxstudio.mk
  3. WAF = python3 ./waf
  4. override_dh_auto_configure:
  5. $(WAF) configure \
  6. --prefix=/usr \
  7. --mandir=/usr/share/man \
  8. --strict \
  9. --test
  10. override_dh_auto_build:
  11. $(WAF)
  12. override_dh_auto_clean:
  13. $(WAF) clean || true
  14. override_dh_auto_install:
  15. $(WAF) install --destdir=$(CURDIR)/debian/tmp
  16. override_dh_auto_test:
  17. $(WAF) test
  18. override_dh_install:
  19. dh_install
  20. rm -rf debian/lv2-dev/usr/lib/lv2/eg*.lv2
  21. # move .pc files to a multiarch directory
  22. mkdir debian/lv2-dev/usr/lib/$(DEB_HOST_MULTIARCH)
  23. mv debian/lv2-dev/usr/lib/pkgconfig debian/lv2-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig
  24. %:
  25. dh $@