History

build: fix out-of-tree build

* Makefile (TCC-VERSION): Use top_srcdir.

Akim Demaille committed 13 years ago

Commit 7667a881 parent 8adfb4a1 file · +1 −1Browse files

Unified · Split

Makefile+1−1
@@ -375,7 +375,7 @@ config.mak: · 374 unmodified lines
375375
376376 # create release tarball from *current* git branch (including tcc-doc.html
377377 # and converting two files to CRLF)
378−TCC-VERSION := tcc-$(shell cat VERSION)
378+TCC-VERSION := tcc-$(shell cat $(top_srcdir)/VERSION)
379379 tar: tcc-doc.html
380380 mkdir $(TCC-VERSION)
381381 ( cd $(TCC-VERSION) && git --git-dir ../.git checkout -f )

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t