diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2016-07-08 15:31:13 +0200 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2016-07-11 21:11:45 +0200 |
commit | f49c55ecd35a7436194d28297f6d6f20eb6a66fa (patch) | |
tree | b537e9c840b2140de52be69b59c0eb3dbf12dfb4 | |
parent | f363b3205658a38e84fa77f19dee218cd4445275 (diff) |
use brace expansion, not command substitution
Recently noticed that gtk-doc stopped to extract the internal
documentation (appeared just API, but no description).
The problem seems to be a regression from commit f363b32, where the
expasion of the variable _source_dir is expanded using parentheses,
which are used for command substitution, when the variable need to
be a string expansion, and for that brace are needed by the shell.
https://bugzilla.gnome.org/show_bug.cgi?id=768571
-rw-r--r-- | gtk-doc.mak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk-doc.mak b/gtk-doc.mak index 4beebcf..3f83491 100644 --- a/gtk-doc.mak +++ b/gtk-doc.mak @@ -125,7 +125,7 @@ sgml-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DO for i in $(DOC_SOURCE_DIR) ; do \ _source_dir="$${_source_dir} --source-dir=$$i" ; \ done ; \ - gtkdoc-mkdb --module=$(DOC_MODULE) $$(_source_dir) --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) --output-format=xml $(MKDB_OPTIONS) + gtkdoc-mkdb --module=$(DOC_MODULE) $${_source_dir} --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) --output-format=xml $(MKDB_OPTIONS) @cp ../version.entities xml @touch sgml-build.stamp |