build: fix out-of-tree build

* Makefile (TCC-VERSION): Use top_srcdir.
master
Akim Demaille 2012-12-21 14:17:23 +01:00
parent 8adfb4a419
commit 7667a8887a
1 changed files with 1 additions and 1 deletions

View File

@ -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 )