summaryrefslogtreecommitdiff
path: root/gtkdoc-mkdb.in
diff options
context:
space:
mode:
authorStefan Sauer <ensonic@users.sf.net>2015-04-25 09:55:08 +0200
committerStefan Sauer <ensonic@users.sf.net>2015-04-25 09:59:52 +0200
commit7585aeab493f366257a718af852358d4e2748426 (patch)
tree97bce4f1f11dba18f082c2cb03e992182b4f503f /gtkdoc-mkdb.in
parent031b50a021aef658131975c23960723ac0dd6293 (diff)
downloadgtk-doc-7585aeab493f366257a718af852358d4e2748426.tar.gz
mkdb: add a deprecation warning for sgml mode
Diffstat (limited to 'gtkdoc-mkdb.in')
-rwxr-xr-xgtkdoc-mkdb.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/gtkdoc-mkdb.in b/gtkdoc-mkdb.in
index 52eddd5..cc8a36a 100755
--- a/gtkdoc-mkdb.in
+++ b/gtkdoc-mkdb.in
@@ -140,6 +140,16 @@ if (! defined($OUTPUT_FORMAT) || ($OUTPUT_FORMAT eq "")) {
$OUTPUT_FORMAT = lc($OUTPUT_FORMAT);
}
+if ($OUTPUT_FORMAT eq "sgml") {
+print <<EOF;
+###############################################################################
+sgml support in gtk-doc is deprecated and will be removed from one of the next
+gtk-doc release.
+Please refer to the documentation "Modernizing the documentation"/"GTK-Doc 1.9".
+###############################################################################
+EOF
+}
+
@TRACE@(" output-format: [$OUTPUT_FORMAT]\n");
if ($OUTPUT_FORMAT eq "xml") {