summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWill Thompson <will@willthompson.co.uk>2012-01-10 12:22:14 +0000
committerWill Thompson <will@willthompson.co.uk>2012-01-10 12:22:14 +0000
commitd33145e6024cbedbd0479d9035bf0e5f4db565d7 (patch)
tree01812c2d894328e156845b19a386cffaa2f197f5 /Makefile
parent6358c0f77c5395d867a0650799c20f160ce692b8 (diff)
Makefile: Fix arch detection
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0e1c93c..daa5309 100644
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,7 @@ clean:
# Binary tarball stuff. Please ignore this unless you're making a release.
TOP := $(shell pwd)
TARBALL_PARENT_DIR := dist
-TARBALL_DIR := $(shell git describe --tags)-$(shell uname -m)
+TARBALL_DIR := $(shell git describe --tags)-$(shell gcc -dumpmachine | perl -pe 's/-.*//')
TARBALL_FULL_DIR := $(TARBALL_PARENT_DIR)/$(TARBALL_DIR)
TARBALL := $(TARBALL_DIR).tar.bz2
maintainer-binary-tarball: all