shithub: opusfile

Download patch

ref: 300747998d931911ba24b7b1ab894f2acbfbaf55
parent: eb35299b0752c837003996d0234d2ad1e72fd31a
author: Ralph Giles <giles@mozilla.com>
date: Mon Oct 1 07:25:57 EDT 2012

Fix git-version.sh invocation.

Making it exectutable doesn't put it in the path, so we have to
call it ./git-version.sh from inside the doc directory.

Jenkins didn't catch this because the $(shell ...) return code
doesn't seem to be propagated to make itself. It prints a warning
but doesn't abort. I don't know if there's a way to fix that.

--- a/doc/Makefile
+++ b/doc/Makefile
@@ -18,7 +18,7 @@
 .PHONY: all clean distclean doxygen pdf
 
 # run autoconf-like replacements to finalize our config
-GIT_VERSION := $(shell git-version.sh)
+GIT_VERSION := $(shell ./git-version.sh)
 Doxyfile: Doxyfile.in Makefile
 	sed -e 's/@PACKAGE@/opusfile/' \
 	    -e 's/@VERSION@/$(GIT_VERSION)/' \