mirror of
https://github.com/mirror/tinycc.git
synced 2025-03-22 09:50:21 +08:00
build: fix out-of-tree build
* Makefile (TCC-VERSION): Use top_srcdir.
This commit is contained in:
parent
8adfb4a419
commit
7667a8887a
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 New Issue
Block a user