Use $(VERSION) to set DISTDIR in Makefile, so make VERSION=... dist overrides its name
This commit is contained in:
parent
8793934328
commit
3a4a1b4ef0
2
Makefile
2
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue