diff options
author | Hans de Goede <hdegoede@redhat.com> | 2010-10-30 15:56:14 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2010-10-30 15:56:14 +0200 |
commit | 0169804d8343c7891c8937058f4724e656686c28 (patch) | |
tree | b5dd749274cc9af918388a0cfe16775f617d59cb | |
parent | 986bf96b49753e849b8162e8557d8cef980e8c59 (diff) |
Add archive Makefile target
-rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,4 @@ +VERSION = 0.6.3 DESTDIR ?= sbindir ?= /sbin @@ -37,3 +38,13 @@ spice-vdagentd: vdagentd.o vdagentd-uinput.o udscs.o vdagent-virtio-port.o conso spice-vdagent: vdagent.o vdagent-x11.o udscs.o $(CC) -o $@ $^ -lX11 -lXrandr -lXfixes + +tag: + @git tag -a -m "Tag as spice-vdagent-$(VERSION)" spice-vdagent-$(VERSION) + @echo "Tagged as spice-vdagent-$(VERSION)" + +archive-no-tag: + @git archive --format=tar --prefix=spice-vdagent-$(VERSION)/ spice-vdagent-$(VERSION) > spice-vdagent-$(VERSION).tar + @bzip2 -f spice-vdagent-$(VERSION).tar + +archive: clean tag archive-no-tag |