diff options
author | Hans de Goede <hdegoede@redhat.com> | 2011-07-14 12:52:25 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2011-07-14 14:59:44 +0200 |
commit | f61b0b3af2a9e5cebf78a3530ea1a0688227e14c (patch) | |
tree | a4cabd8d3a3cdff12f1dcf04c15a5622711d7d89 | |
parent | c0ff79717b0d7fd3b57694663249e8354b952e81 (diff) |
Add an archive target to the Makefile
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -5,4 +5,14 @@ all install clean:: $(MAKE) -C $$i $@ || exit 1; \ done +tag: + @git tag -a -m "Tag as usbredir-$(USBREDIR_VERSION)" usbredir-$(USBREDIR_VERSION) + @echo "Tagged as usbredir-$(USBREDIR_VERSION)" + +archive-no-tag: + @git archive --format=tar --prefix=usbredir-$(USBREDIR_VERSION)/ usbredir-$(USBREDIR_VERSION) > usbredir-$(USBREDIR_VERSION).tar + @bzip2 -f usbredir-$(USBREDIR_VERSION).tar + +archive: clean tag archive-no-tag + include Make.rules |