From a1d73d02c18b682734764aba13947d902e1e0b0f Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sat, 15 Mar 2014 17:13:49 -0400 Subject: Add Makefile --- .gitattributes | 1 + Makefile | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 .gitattributes create mode 100644 Makefile 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 -- cgit v1.2.3-18-g5258