[Apparmor-dev] Re: make tarball not working

Mathias Gug mathiaz at ubuntu.com
Tue Aug 14 19:12:55 MDT 2007


Hi Dominic,

On Tue, Aug 14, 2007 at 06:57:58PM -0600, Dominic Reynolds wrote:
> Is this in one of the package subdirs? 
I tried the command from the top directory.

> I think I explained this poorly in
> IRC (and I forgot that some packages use autotools). You can run make tarball
> in each subdir:
>
Ok. That makes sense then. 

So how do you plan to release 2.1 ? A tarball for each package or one
big tarball ?

FYI, the following rule is used in debian/rules to create an orig source file
from the svn repository:

VERSION=$(shell  dpkg-parsechangelog | grep ^Version | cut -d+ -f1 | cut -d\  -f2)
SVN_RELEASE=$(shell dpkg-parsechangelog | grep ^Version | cut -d+ -f2 | cut -d. -f1 | cut -d\  -f2)
ORIG_FILE=$(CURDIR)/../apparmor_$(VERSION)+$(SVN_RELEASE).dfsg.orig.tar.gz SVN_CO_DIR=$(CURDIR)/apparmor
get-orig-source:
	test ! -e $(ORIG_FILE)
	test ! -e $(SVN_CO_DIR)
	svn co -r $(SVN_RELEASE) https://forgesvn1.novell.com/svn/apparmor/trunk $(SVN_CO_DIR)
	tar czf $(ORIG_FILE) -C `dirname $(SVN_CO_DIR)` --exclude .svn `basename $(SVN_CO_DIR)`
	rm -rf $(CURDIR)/apparmor/

The version (2.0.2 currently) and the revision (910 currently) are set
manually in the changelog (2.0.2+910 currently).

--
Mathias



More information about the Apparmor-dev mailing list