Use $(VERSION) to set DISTDIR in Makefile, so make VERSION=... dist overrides its name

This commit is contained in:
Paul LeoNerd Evans 2011-09-05 13:52:58 +01:00
parent 8793934328
commit 3a4a1b4ef0
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ termkey.h: termkey.h.in Makefile
-e 's/@@VERSION_MINOR@@/$(VERSION_MINOR)/g' \ -e 's/@@VERSION_MINOR@@/$(VERSION_MINOR)/g' \
$< >$@ $< >$@
DISTDIR=libtermkey-$(VERSION_MAJOR).$(VERSION_MINOR) DISTDIR=libtermkey-$(VERSION)
distdir: all distdir: all
mkdir __distdir mkdir __distdir