From b6d40d8b7ff1a89425e852fe671ff473f7e1c639 Mon Sep 17 00:00:00 2001 From: Reinhard Tartler Date: Tue, 17 Nov 2020 07:53:45 -0500 Subject: [PATCH] avoid cleaning 'debian' --- debian/copyright | 4 +--- debian/rules | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) 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 -- 2.30.2