mirror of
https://github.com/mirror/tinycc.git
synced 2026-08-22 11:23:27 +08:00
build: fix out-of-tree build
* Makefile (TCC-VERSION): Use top_srcdir.
This commit is contained in:
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 )
|
||||
|
||||
Reference in New Issue
Block a user