aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-09-05 13:52:58 +0100
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-09-05 13:52:58 +0100
commit3a4a1b4ef0dc69f2c530554a15f32e534f02a6f4 (patch)
treefa293ce178796c1130af32994532a7784bc74ae2
parent8793934328f40f79a634a05d8ba815f9b7bcd749 (diff)
downloadtermo-3a4a1b4ef0dc69f2c530554a15f32e534f02a6f4.tar.gz
termo-3a4a1b4ef0dc69f2c530554a15f32e534f02a6f4.tar.xz
termo-3a4a1b4ef0dc69f2c530554a15f32e534f02a6f4.zip
Use $(VERSION) to set DISTDIR in Makefile, so make VERSION=... dist overrides its name
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 46ddb45..a4294d3 100644
--- a/Makefile
+++ b/Makefile
@@ -105,7 +105,7 @@ termkey.h: termkey.h.in Makefile
-e 's/@@VERSION_MINOR@@/$(VERSION_MINOR)/g' \
$< >$@
-DISTDIR=libtermkey-$(VERSION_MAJOR).$(VERSION_MINOR)
+DISTDIR=libtermkey-$(VERSION)
distdir: all
mkdir __distdir