diff options
author | Owen W. Taylor <otaylor@fishsoup.net> | 2013-09-06 10:15:00 -0400 |
---|---|---|
committer | Owen W. Taylor <otaylor@fishsoup.net> | 2013-09-06 10:18:24 -0400 |
commit | 5ae7a500636ddc28bcf7a18427f388c8790623b3 (patch) | |
tree | e28608cd80180cd6d60c984c8367da668984480f /Makefile | |
parent | 6cf0c4ceb89e68db4478d74c21d172b3e65e8d2b (diff) | |
download | git-bz-5ae7a500636ddc28bcf7a18427f388c8790623b3.tar.gz |
Make srcdir != builddir builds work
Add $(VPATH), correct paths
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,5 @@ include Makefile.inc +VPATH=$(srcdir) ifeq ($(enable_documentation),yes) docs = git-bz.html git-bz.1 @@ -9,10 +10,10 @@ endif all: $(docs) %.xml: %.txt - asciidoc -f asciidoc.conf -d manpage -b docbook $< + asciidoc -f $(srcdir)/asciidoc.conf -d manpage -b docbook -o $@ $< %.html: %.txt - asciidoc -f asciidoc.conf -d manpage $< + asciidoc -f $(srcdir)/asciidoc.conf -d manpage -o $@ $< %.1: %.xml xmlto man $< |