drop deprecated apps
authorReinhard Tartler <siretart@tauware.de>
Mon, 16 Nov 2020 12:12:50 +0000 (07:12 -0500)
committerReinhard Tartler <siretart@tauware.de>
Tue, 17 Nov 2020 12:25:00 +0000 (07:25 -0500)
needs further copyright review, maybe parts (or all) could be included in a
future revision

debian/copyright
debian/rules

index 624e1ee78cd36652494aa31d0dc9a0f835138947..87f584d26d754e7932454135534012c732be5389 100644 (file)
@@ -3,14 +3,21 @@ Upstream-Name: gpac
 Upstream-Contact: jeanlf@users.sourceforge.net
 Source: http://gpac.svn.sourceforge.net/svnroot/gpac/trunk/gpac
 Files-Excluded:
+ applications/deprecated
  applications/mp4box_android
  applications/osmo4_android_studio
  applications/osmo4_ios
  applications/osmophone
  applications/osmozilla
+ applications/WebGLGen
+ applications/testapps
  build
  debian
  extra_lib/include
+ modules/deprecated
+ share/vis
+ share/deprecated
+ share/gui
 
 Files: *
 Copyright:
index b7272dc2a18e6b721d082f3c090a7ca21f18f6e3..359f72194f9a32832f9c5b0a712c1e624e2c035a 100755 (executable)
@@ -43,6 +43,8 @@ override_dh_auto_clean:
        dh_auto_clean || true
 
 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`
        dh_clean config.h bin/gcc/libgpac*
        dh_clean gpac.pc include/gpac/revision.h
        find $(CURDIR) -name *.opic -delete