diff options
author | Stefan Kost <ensonic@users.sf.net> | 2011-05-18 23:07:16 +0300 |
---|---|---|
committer | Stefan Kost <ensonic@users.sf.net> | 2011-05-19 00:39:51 +0300 |
commit | b77dc098f9eb23abd50ded3ce9e34199c7b0c16c (patch) | |
tree | e33a1f225b0e98c17dc629d754ec54bb352eadc3 /gtk-doc-plugins.mak | |
parent | 87f7e7e7c1be999c03714918535eb56d60bb74cf (diff) |
docs: only use --verbose on gtkdoc-mkhtml where supported
This would require gtk-doc >=1.18 (unreleased yet) and we don't want to do that
for cosmetic fixes.
Diffstat (limited to 'gtk-doc-plugins.mak')
-rw-r--r-- | gtk-doc-plugins.mak | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk-doc-plugins.mak b/gtk-doc-plugins.mak index ad06a19..cdf19ee 100644 --- a/gtk-doc-plugins.mak +++ b/gtk-doc-plugins.mak @@ -207,8 +207,11 @@ html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) @cp -pr xml html @cp ../version.entities html @mkhtml_options=""; \ - if test "x$(V)" = "x1"; then \ - mkhtml_options="--verbose"; \ + gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-verbose"; \ + if test "$(?)" = "0"; then \ + if test "x$(V)" = "x1"; then \ + mkhtml_options="$$mkhtml_options --verbose"; \ + fi; \ fi; \ cd html && gtkdoc-mkhtml $$mkhtml_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) @mv html/index.sgml html/index.sgml.bak |