From: Jochen Sprickerhof Date: Tue, 12 Oct 2021 07:51:58 +0000 (+0200) Subject: Use execute_after_ of dh X-Git-Tag: archive/raspbian/9.5.2+dfsg4-3+rpi1^2~149 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5157c53774e83e993797f5b5e0ac29c43d3c21b2;p=vtk9.git Use execute_after_ of dh --- diff --git a/debian/rules b/debian/rules index d1e13ba86..819a0b708 100755 --- a/debian/rules +++ b/debian/rules @@ -78,12 +78,10 @@ extra_flags += \ override_dh_auto_configure: dh_auto_configure -- $(extra_flags) -override_dh_auto_clean: - dh_auto_clean +execute_after_dh_auto_clean: rm -rf $(BUILDDIR) -override_dh_auto_build: - dh_auto_build +execute_after_dh_auto_build: cd $(BUILDDIR) && make DoxygenDoc find $(BUILDDIR)/Utilities/Doxygen/doc/html/ -name "*.md5" | xargs rm -f @@ -95,8 +93,7 @@ ifneq ($(JAVA_HOME),) endif sed -i -e "s/FATAL_ERROR/STATUS/g" $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/cmake/vtk-9.0/VTK-targets.cmake -override_dh_install: - dh_install +execute_after_dh_install: rm -rf $(CURDIR)/debian/tmp/usr/share/licenses find $(CURDIR)/debian/libvtk9-dev/ -name "*Qt*" -exec rm {} \; || true find $(CURDIR)/debian/libvtk9-dev/ -name "libvtkRenderingPythonTkWidgets.so" -exec rm {} \; || true