* Makefile (TCC-VERSION): Use top_srcdir.
Unified · Split
| @@ -375,7 +375,7 @@ config.mak: · 374 unmodified lines | ||
| 375 | 375 | |
| 376 | 376 | # create release tarball from *current* git branch (including tcc-doc.html |
| 377 | 377 | # and converting two files to CRLF) |
| 378 | −TCC-VERSION := tcc-$(shell cat VERSION) | |
| 378 | +TCC-VERSION := tcc-$(shell cat $(top_srcdir)/VERSION) | |
| 379 | 379 | tar: tcc-doc.html |
| 380 | 380 | mkdir $(TCC-VERSION) |
| 381 | 381 | ( cd $(TCC-VERSION) && git --git-dir ../.git checkout -f ) |