From: Reinhard Tartler Date: Tue, 17 Nov 2020 12:53:45 +0000 (-0500) Subject: avoid cleaning 'debian' X-Git-Tag: archive/raspbian/1.0.1+dfsg1-4+rpi1~1^2~24 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b6d40d8b7ff1a89425e852fe671ff473f7e1c639;p=gpac.git avoid cleaning 'debian' --- diff --git a/debian/copyright b/debian/copyright index 87f584d..0b46ae3 100644 --- a/debian/copyright +++ b/debian/copyright @@ -12,12 +12,10 @@ Files-Excluded: applications/WebGLGen applications/testapps build - debian + debian/ extra_lib/include modules/deprecated - share/vis share/deprecated - share/gui Files: * Copyright: diff --git a/debian/rules b/debian/rules index 359f721..723c11e 100755 --- a/debian/rules +++ b/debian/rules @@ -44,7 +44,7 @@ override_dh_auto_clean: override_dh_clean: ## Remove Files-Excluded (when built from checkout or non-DFSG tarball): - $(RM) -rv `perl -0nE 'say $$1 if m{^Files\-Excluded\:\s*(.*?)(?:\n\n|Files:|Comment:)}sm;' debian/copyright` + $(RM) -rv `perl -0nE 'say $$1 if m{^Files\-Excluded\:\s*(.*?)(?:\n\n|Files:|Comment:)}sm;' debian/copyright | grep -v 'debian/'` dh_clean config.h bin/gcc/libgpac* dh_clean gpac.pc include/gpac/revision.h find $(CURDIR) -name *.opic -delete