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