mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 16:35:02 +01:00

slow) for getting a clean export of the source. But too many of the packages make some assumptions that they're in a checked out svn tree that a lot of the auto-rpm building infrastructure breaks. Use at your own risk.
38 lines
667 B
Makefile
38 lines
667 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
OVERRIDE_TARBALL=yes
|
|
|
|
include common/Make.rules
|
|
|
|
DIRS=parser \
|
|
profiles \
|
|
utils \
|
|
changehat/libapparmor \
|
|
changehat/mod_apparmor \
|
|
changehat/pam_apparmor \
|
|
management/apparmor-dbus \
|
|
management/applets/apparmorapplet-gnome \
|
|
management/yastui \
|
|
common \
|
|
tests
|
|
|
|
RELEASE_DIR=apparmor-${VERSION}-${REPO_VERSION}
|
|
|
|
.PHONY: tarball
|
|
tarball: _dist
|
|
tar cvzf ${RELEASE_DIR}.tar.gz ${RELEASE_DIR}
|
|
|
|
${RELEASE_DIR}:
|
|
mkdir ${RELEASE_DIR}
|
|
|
|
.PHONY: _dist
|
|
.PHONY: ${DIRS}
|
|
|
|
_dist: clean ${DIRS}
|
|
|
|
${DIRS}: ${RELEASE_DIR}
|
|
svn export -r $(REPO_VERSION) $(REPO_URL)/$@ $(RELEASE_DIR)/$@ ; \
|
|
|
|
clean:
|
|
-rm -rf ${RELEASE_DIR}
|