mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
toplevel makefile:
- adjust snapshot version to be less than the upcoming version - add a tag target - be a little more paranoid in the clean target and adjust for snapshot versioning scheme.
This commit is contained in:
parent
81dac29f52
commit
d3989823ca
1 changed files with 6 additions and 2 deletions
8
Makefile
8
Makefile
|
@ -21,7 +21,7 @@ REPO_URL?=lp:apparmor/2.5
|
|||
#REPO_URL="bzr+ssh://bazaar.launchpad.net/~sbeattie/apparmor/apparmor-2.5.1-nominations/"
|
||||
|
||||
RELEASE_DIR=apparmor-${VERSION}
|
||||
SNAPSHOT_DIR=apparmor-${VERSION}-${REPO_VERSION}
|
||||
SNAPSHOT_DIR=apparmor-${VERSION}~${REPO_VERSION}
|
||||
__SETUP_DIR?=.
|
||||
|
||||
.PHONY: tarball
|
||||
|
@ -46,7 +46,11 @@ export_dir:
|
|||
echo "$(REPO_URL) $(REPO_VERSION)" > $(__EXPORT_DIR)/.stamp_rev
|
||||
|
||||
clean:
|
||||
-rm -rf ${RELEASE_DIR}
|
||||
-rm -rf ./${RELEASE_DIR} ./${RELEASE_DIR}~*
|
||||
|
||||
setup:
|
||||
cd $(__SETUP_DIR)/libraries/libapparmor && ./autogen.sh
|
||||
|
||||
.PHONY: tag
|
||||
tag:
|
||||
bzr tag apparmor_${VERSION}
|
||||
|
|
Loading…
Add table
Reference in a new issue