diff options
author | Mike Gilbert <floppym@gentoo.org> | 2014-03-15 17:13:49 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2014-03-15 17:21:50 -0400 |
commit | a1d73d02c18b682734764aba13947d902e1e0b0f (patch) | |
tree | b6a91f4a89939a1a3350318d1f8e7b2ada8c63f5 | |
download | python-gentoo-patches-a1d73d02c18b682734764aba13947d902e1e0b0f.tar.gz python-gentoo-patches-a1d73d02c18b682734764aba13947d902e1e0b0f.tar.bz2 python-gentoo-patches-a1d73d02c18b682734764aba13947d902e1e0b0f.zip |
-rw-r--r-- | .gitattributes | 1 | ||||
-rw-r--r-- | Makefile | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..5e5a56d --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +Makefile export-ignore diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..651b426 --- /dev/null +++ b/Makefile @@ -0,0 +1,6 @@ +DISTDIR ?= $(shell portageq distdir) +TAG ?= HEAD +VERSION ?= $(shell git describe --tags $(TAG)) + +dist: + git archive $(TAG) | xz > $(DISTDIR)/python-gentoo-patches-$(VERSION).tar.xz |