[blivet] Add a release make target

Vratislav Podzimek vpodzime at redhat.com
Thu Sep 11 06:33:34 UTC 2014


On Wed, 2014-09-10 at 17:15 -0700, Brian C. Lane wrote:
> Sometimes it is useful to recreate the archive w/o tagging. Move the
> actual archive to its own target and add a new one named release to do
> the tag + archive
> ---
>  Makefile | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/Makefile b/Makefile
> index 6edac2a..0d12d01 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -47,7 +47,9 @@ tag:
>  	  echo "Tagged as $$tag" ; \
>  	done
>  
> -archive: check tag
> +release: check tag archive
> +
> +archive: po-pull
>  	@rm -f ChangeLog
>  	@make ChangeLog
>  	git archive --format=tar --prefix=$(PKGNAME)-$(VERSION)/ $(VERSION_TAG) > $(PKGNAME)-$(VERSION).tar
Neat! ACK.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list