build: fix out-of-tree build
* Makefile (TCC-VERSION): Use top_srcdir.
This commit is contained in:
parent
8adfb4a419
commit
7667a8887a
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -375,7 +375,7 @@ config.mak:
|
|||
|
||||
# create release tarball from *current* git branch (including tcc-doc.html
|
||||
# and converting two files to CRLF)
|
||||
TCC-VERSION := tcc-$(shell cat VERSION)
|
||||
TCC-VERSION := tcc-$(shell cat $(top_srcdir)/VERSION)
|
||||
tar: tcc-doc.html
|
||||
mkdir $(TCC-VERSION)
|
||||
( cd $(TCC-VERSION) && git --git-dir ../.git checkout -f )
|
||||
|
|
Loading…
Reference in a new issue