From 7667a8887a4449b65af3138db39e9f018dd3a92b Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Fri, 21 Dec 2012 14:17:23 +0100 Subject: [PATCH] build: fix out-of-tree build * Makefile (TCC-VERSION): Use top_srcdir. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) -- 2.11.4.GIT