[Cbe-oss-dev] [PATCH] libspe2: build tarball as make target

Kazunori Asayama asayama at sm.sony.co.jp
Wed Apr 25 20:40:12 EST 2007


stenzel at de.ibm.com wrote:
> The following patch redefines the "dist" target to create a tarball, 
> which then can be used to build a fedora rpm or packages for
> other distros. This is based on a proposal from Jeremy Kerr.
> 
> The release number is currently hardcoded in the Makefile. This 
> should be changed such that it is updated by subversion.

(snip)

> +	tar -czhf $@ --exclude=$(PACKAGE_VER).tar.gz \
> +			--exclude=$(FULLNAME)/$(FULLNAME) \
> +			--exclude=CVS --exclude .pc --exclude '.*.swp' --exclude '*~'  --exclude '.#*' \
> +			--exclude=$(FULLNAME)/spegang \
> +			--exclude=$(FULLNAME)/spethread \
> +			--exclude=$(FULLNAME)/tests_hidden \
> +			--exclude=$(FULLNAME)/patches \
> +			--exclude=.svn CVS $(FULLNAME)/* \
> +			$(FULLNAME) 

I suppose that the line:

	--exclude=.svn CVS $(FULLNAME)/*

should be:

	--exclude=.svn \

Right ?

--
(ASAYAMA Kazunori
  (asayama at sm.sony.co.jp))
t



More information about the cbe-oss-dev mailing list