[PATCH] Add a dist target that copies the archive to fedorahosted
Brian C. Lane
bcl at redhat.com
Thu Aug 1 16:48:48 UTC 2013
From: "Brian C. Lane" <bcl at redhat.com>
---
Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index b8c0456..654024d 100644
--- a/Makefile
+++ b/Makefile
@@ -27,11 +27,14 @@ clean:
tag:
git tag -f $(TAG)
-archive: tag
+archive:
@git archive --format=tar --prefix=$(PKGNAME)-$(VERSION)/ $(TAG) > $(PKGNAME)-$(VERSION).tar
@gzip $(PKGNAME)-$(VERSION).tar
@echo "The archive is in $(PKGNAME)-$(VERSION).tar.gz"
+dist: tag archive
+ scp $(PKGNAME)-$(VERSION).tar.gz fedorahosted.org:lorax
+
local:
@rm -rf $(PKGNAME)-$(VERSION).tar.gz
@rm -rf /var/tmp/$(PKGNAME)-$(VERSION)
--
1.8.3.1
More information about the anaconda-patches
mailing list