From: Akim Demaille Date: Fri, 21 Dec 2012 13:17:23 +0000 (+0100) Subject: build: fix out-of-tree build X-Git-Tag: release_0_9_26~82 X-Git-Url: https://repo.or.cz/w/tinycc.git/commitdiff_plain/7667a8887a4449b65af3138db39e9f018dd3a92b build: fix out-of-tree build * Makefile (TCC-VERSION): Use top_srcdir. --- diff --git a/Makefile b/Makefile index 6a49dfff..a227452b 100644 --- a/Makefile +++ b/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 )