summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2014-03-15 17:13:49 -0400
committerMike Gilbert <floppym@gentoo.org>2014-03-15 17:21:50 -0400
commita1d73d02c18b682734764aba13947d902e1e0b0f (patch)
treeb6a91f4a89939a1a3350318d1f8e7b2ada8c63f5
downloadpython-gentoo-patches-a1d73d02c18b682734764aba13947d902e1e0b0f.tar.gz
python-gentoo-patches-a1d73d02c18b682734764aba13947d902e1e0b0f.tar.bz2
python-gentoo-patches-a1d73d02c18b682734764aba13947d902e1e0b0f.zip
Add MakefileHEADmaster
-rw-r--r--.gitattributes1
-rw-r--r--Makefile6
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