[apparmor] [PATCH] do not ship "deprecated/" in tarball any more
Kees Cook
kees at ubuntu.com
Tue Apr 19 00:37:45 UTC 2011
Nothing in deprecated/ should be built any more, much less shipped in the
tarball. Let's drop this from future tarball creation.
Signed-off-by: Kees Cook <kees.cook at canonical.com>
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
=== modified file 'Makefile'
--- Makefile 2011-02-24 09:32:08 +0000
+++ Makefile 2011-04-19 00:34:15 +0000
@@ -29,7 +29,7 @@
REPO_VERSION=`$(value REPO_VERSION_CMD)` ; \
make export_dir __EXPORT_DIR=${RELEASE_DIR} __REPO_VERSION=$${REPO_VERSION} ; \
make setup __SETUP_DIR=${RELEASE_DIR} ; \
- tar cvzf ${RELEASE_DIR}.tar.gz ${RELEASE_DIR}
+ tar --exclude deprecated -cvzf ${RELEASE_DIR}.tar.gz ${RELEASE_DIR}
.PHONY: snapshot
snapshot: clean
@@ -37,7 +37,7 @@
SNAPSHOT_DIR=apparmor-${VERSION}~$${REPO_VERSION} ;\
make export_dir __EXPORT_DIR=$${SNAPSHOT_DIR} __REPO_VERSION=$${REPO_VERSION} ; \
make setup __SETUP_DIR=$${SNAPSHOT_DIR} ; \
- tar cvzf $${SNAPSHOT_DIR}.tar.gz $${SNAPSHOT_DIR} ;
+ tar --exclude deprecated -cvzf $${SNAPSHOT_DIR}.tar.gz $${SNAPSHOT_DIR} ;
.PHONY: export_dir
--
Kees Cook
Ubuntu Security Team
More information about the AppArmor
mailing list