rules 550 B

123456789101112131415161718192021222324252627
  1. #!/usr/bin/make -f
  2. %:
  3. dh $@ --with autoreconf
  4. INC_DIR=$(CURDIR)/debian/tmp/usr/include/
  5. INC_DIR_ARCH=$(INC_DIR)/$(DEB_BUILD_MULTIARCH)/
  6. override_dh_auto_configure:
  7. dh_auto_configure -- --enable-doc --with-pic --prefix=/usr
  8. override_dh_auto_build:
  9. dh_auto_build
  10. $(MAKE) html
  11. override_dh_auto_install:
  12. dh_auto_install
  13. # spandsp.h
  14. mkdir -p $(INC_DIR_ARCH)
  15. mv $(INC_DIR)/spandsp.h $(INC_DIR_ARCH)/
  16. override_dh_clean:
  17. $(RM) -rf doc/api/html/
  18. $(RM) -f doc/t38_manual/*.html
  19. dh_clean
  20. override_dh_changelogs:
  21. dh_installchangelogs ChangeLog