aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAkim Demaille <akim@lrde.epita.fr>2012-12-21 14:17:23 +0100
committerAkim Demaille <akim@lrde.epita.fr>2012-12-21 14:17:23 +0100
commit7667a8887a4449b65af3138db39e9f018dd3a92b (patch)
tree60a79c5110091fed423f4e180c1440e78b4ed8fe /Makefile
parent8adfb4a419266ecd7b1eb739bf61a83e0514040c (diff)
downloadtinycc-7667a8887a4449b65af3138db39e9f018dd3a92b.tar.gz
tinycc-7667a8887a4449b65af3138db39e9f018dd3a92b.tar.bz2
build: fix out-of-tree build
* Makefile (TCC-VERSION): Use top_srcdir.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6a49dff..a227452 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 )