[node-patches] Change in ovirt-node[master]: build. Add make snapshot

fabiand at fedoraproject.org fabiand at fedoraproject.org
Thu Apr 24 10:54:12 UTC 2014


Fabian Deutsch has uploaded a new change for review.

Change subject: build. Add make snapshot
......................................................................

build. Add make snapshot

To easier create snapshots from the current master

Change-Id: I177afc2630193fc7fec0314ee53ac60f34f5b887
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M Makefile.am
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/44/27044/1

diff --git a/Makefile.am b/Makefile.am
index 894cbe5..f92d4ba 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -82,5 +82,11 @@
 unittests:
 	$(MAKE) -C tests/ check-local
 
+snapshot:
+	eval export $$(grep ^PACKAGE_ configure) ; \
+	git archive \
+		-o $$PACKAGE_NAME-$$PACKAGE_VERSION.$$(date +%Y%m%d)git$$(git log -n1 --format=%h).tar.gz \
+		--format=tar.gz \
+		--prefix=$$PACKAGE_NAME-$$PACKAGE_VERSION/ master
 
 # vim: ts=2


-- 
To view, visit http://gerrit.ovirt.org/27044
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I177afc2630193fc7fec0314ee53ac60f34f5b887
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list