diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-06-04 12:53:57 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-06-04 12:53:57 +0200 |
commit | cf53e0ea70bc56e70332f5770f9cb88f68c0a65d (patch) | |
tree | ddced0b824229115d4893782c81464f7f890db12 /odk/util | |
parent | 497d894c65988d9d4447c86ee057e7e791a05e4b (diff) |
No idl check for --without-doxygen
Change-Id: Id1a8629aac38ef3214d0f891ecc9f36d666552c3
Diffstat (limited to 'odk/util')
-rw-r--r-- | odk/util/check.pl | 274 |
1 files changed, 138 insertions, 136 deletions
diff --git a/odk/util/check.pl b/odk/util/check.pl index d1b906e096a4..c6db5ef2a4c9 100644 --- a/odk/util/check.pl +++ b/odk/util/check.pl @@ -221,147 +221,149 @@ if (-d "$SdkDir") { #check idl docu, it is only a first and simple check # improvement required - print "check idl docu: "; - if (check_dir("docs/idl/ref")) { - if (!check_file("docs/idl/ref/index.html")) { - print "\nERROR: \"docs/idl/ref/index.html\" is missing\n"; - $return++; - } - if (!check_file("docs/idl/ref/classes.html")) { - print "\nERROR: \"docs/idl/ref/classes.html\" is missing\n"; - $return++; - } - if (!check_file("docs/idl/ref/namespaces.html")) { - print "\nERROR: \"docs/idl/ref/namespaces.html\" is missing\n"; - $return++; - } + if ($ENV{'DOXYGEN'} ne '') { + print "check idl docu: "; + if (check_dir("docs/idl/ref")) { + if (!check_file("docs/idl/ref/index.html")) { + print "\nERROR: \"docs/idl/ref/index.html\" is missing\n"; + $return++; + } + if (!check_file("docs/idl/ref/classes.html")) { + print "\nERROR: \"docs/idl/ref/classes.html\" is missing\n"; + $return++; + } + if (!check_file("docs/idl/ref/namespaces.html")) { + print "\nERROR: \"docs/idl/ref/namespaces.html\" is missing\n"; + $return++; + } - my @idl_dirlist = ( "accessibility", - "animations", - "auth", - "awt", - "awt/tab", - "awt/tree", - "awt/grid", - "beans", - "bridge", - "bridge/oleautomation", - "chart", - "chart2", - "chart2/data", - "configuration", - "configuration/backend", - "configuration/backend/xml", - "configuration/bootstrap", - "connection", - "container", - "cui", - "datatransfer", - "datatransfer/clipboard", - "datatransfer/dnd", - "deployment", - "deployment/ui", - "document", - "drawing", - "drawing/framework", - "embed", - "form", - "form/binding", - "form/component", - "form/control", - "form/inspection", - "form/runtime", - "form/submission", - "form/validation", - "formula", - "frame", - "frame/status", - "gallery", - "geometry", - "graphic", - "i18n", - "image", - "inspection", - "io", - "java", - "lang", - "ldap", - "linguistic2", - "loader", - "logging", - "mail", - "media", - "mozilla", - "packages", - "packages/manifest", - "packages/zip", - "plugin", - "presentation", - "reflection", - "registry", - "rendering", - "report", - "report/inspection", - "resource", - "scanner", - "script", - "script/browse", - "script/provider", - "sdb", - "sdb/application", - "sdb/tools", - "sdbc", - "sdbcx", - "security", - "sheet", - "smarttags", - "style", - "svg", - "system", - "table", - "task", - "text", - "text/fieldmaster", - "text/textfield", - "text/textfield/docinfo", - "ucb", - "ui", - "ui/dialogs", - "uno", - "uri", - "util", - "view", - "xforms", - "xml", - "xml/crypto", - "xml/crypto/sax", - "xml/csax", - "xml/dom", - "xml/dom/events", - "xml/dom/views", - "xml/input", - "xml/sax", - "xml/wrapper", - "xml/xpath", - "xsd" ); + my @idl_dirlist = ( "accessibility", + "animations", + "auth", + "awt", + "awt/tab", + "awt/tree", + "awt/grid", + "beans", + "bridge", + "bridge/oleautomation", + "chart", + "chart2", + "chart2/data", + "configuration", + "configuration/backend", + "configuration/backend/xml", + "configuration/bootstrap", + "connection", + "container", + "cui", + "datatransfer", + "datatransfer/clipboard", + "datatransfer/dnd", + "deployment", + "deployment/ui", + "document", + "drawing", + "drawing/framework", + "embed", + "form", + "form/binding", + "form/component", + "form/control", + "form/inspection", + "form/runtime", + "form/submission", + "form/validation", + "formula", + "frame", + "frame/status", + "gallery", + "geometry", + "graphic", + "i18n", + "image", + "inspection", + "io", + "java", + "lang", + "ldap", + "linguistic2", + "loader", + "logging", + "mail", + "media", + "mozilla", + "packages", + "packages/manifest", + "packages/zip", + "plugin", + "presentation", + "reflection", + "registry", + "rendering", + "report", + "report/inspection", + "resource", + "scanner", + "script", + "script/browse", + "script/provider", + "sdb", + "sdb/application", + "sdb/tools", + "sdbc", + "sdbcx", + "security", + "sheet", + "smarttags", + "style", + "svg", + "system", + "table", + "task", + "text", + "text/fieldmaster", + "text/textfield", + "text/textfield/docinfo", + "ucb", + "ui", + "ui/dialogs", + "uno", + "uri", + "util", + "view", + "xforms", + "xml", + "xml/crypto", + "xml/crypto/sax", + "xml/csax", + "xml/dom", + "xml/dom/events", + "xml/dom/views", + "xml/input", + "xml/sax", + "xml/wrapper", + "xml/xpath", + "xsd" ); - # Due to MSI limitations have to use SHORT_NAMES on windows so can't check - if ($OperatingSystem ne "windows") { - foreach $i (@idl_dirlist) - { - $i =~ s/\//_1_1/g; - if (!check_file("docs/idl/ref/namespacecom_1_1sun_1_1star_1_1$i.html")) { - $return++; - print "\nERROR: \"docs/idl/ref/namespacecom_1_1sun_1_1star_1_1$i.html\" is missing\n"; + # Due to MSI limitations have to use SHORT_NAMES on windows so can't check + if ($OperatingSystem ne "windows") { + foreach $i (@idl_dirlist) + { + $i =~ s/\//_1_1/g; + if (!check_file("docs/idl/ref/namespacecom_1_1sun_1_1star_1_1$i.html")) { + $return++; + print "\nERROR: \"docs/idl/ref/namespacecom_1_1sun_1_1star_1_1$i.html\" is missing\n"; + } else { + print "+"; + } + } + } } else { - print "+"; + $return++; } + print "\n"; } - } - } else { - $return++; - } - print "\n"; } else { $return++; |