gst-plugins-mythtv/m4/ac_doxygen.m4
author leo_sobral
Thu Sep 21 00:05:27 2006 +0100 (2006-09-21)
branchtrunk
changeset 3 265cdb1c59e3
parent 2 mythtv_plugin/m4/ac_doxygen.m4@bd3829c2e9c9
permissions -rw-r--r--
[svn r4] Renamed the mythtv GStreamer module name.
leo_sobral@2
     1
# This file is part of Autoconf.                       -*- Autoconf -*-
leo_sobral@2
     2
leo_sobral@2
     3
# Copyright (C) 2004 Oren Ben-Kiki
leo_sobral@2
     4
# This file is distributed under the same terms as the Autoconf macro files.
leo_sobral@2
     5
leo_sobral@2
     6
# Generate automatic documentation using Doxygen. Works in concert with the
leo_sobral@2
     7
# aminclude.m4 file and a compatible doxygen configuration file. Defines the
leo_sobral@2
     8
# following public macros:
leo_sobral@2
     9
#
leo_sobral@2
    10
# DX_???_FEATURE(ON|OFF) - control the default setting fo a Doxygen feature.
leo_sobral@2
    11
# Supported features are 'DOXYGEN' itself, 'DOT' for generating graphics,
leo_sobral@2
    12
# 'HTML' for plain HTML, 'CHM' for compressed HTML help (for MS users), 'CHI'
leo_sobral@2
    13
# for generating a seperate .chi file by the .chm file, and 'MAN', 'RTF',
leo_sobral@2
    14
# 'XML', 'PDF' and 'PS' for the appropriate output formats. The environment
leo_sobral@2
    15
# variable DOXYGEN_PAPER_SIZE may be specified to override the default 'a4wide'
leo_sobral@2
    16
# paper size.
leo_sobral@2
    17
#
leo_sobral@2
    18
# By default, HTML, PDF and PS documentation is generated as this seems to be
leo_sobral@2
    19
# the most popular and portable combination. MAN pages created by Doxygen are
leo_sobral@2
    20
# usually problematic, though by picking an appropriate subset and doing some
leo_sobral@2
    21
# massaging they might be better than nothing. CHM and RTF are specific for MS
leo_sobral@2
    22
# (note that you can't generate both HTML and CHM at the same time). The XML is
leo_sobral@2
    23
# rather useless unless you apply specialized post-processing to it.
leo_sobral@2
    24
#
leo_sobral@2
    25
# The macro mainly controls the default state of the feature. The use can
leo_sobral@2
    26
# override the default by specifying --enable or --disable. The macros ensure
leo_sobral@2
    27
# that contradictory flags are not given (e.g., --enable-doxygen-html and
leo_sobral@2
    28
# --enable-doxygen-chm, --enable-doxygen-anything with --disable-doxygen, etc.)
leo_sobral@2
    29
# Finally, each feature will be automatically disabled (with a warning) if the
leo_sobral@2
    30
# required programs are missing.
leo_sobral@2
    31
#
leo_sobral@2
    32
# Once all the feature defaults have been specified, call DX_INIT_DOXYGEN with
leo_sobral@2
    33
# the following parameters: a one-word name for the project for use as a
leo_sobral@2
    34
# filename base etc., an optional configuration file name (the default is
leo_sobral@2
    35
# 'Doxyfile', the same as Doxygen's default), and an optional output directory
leo_sobral@2
    36
# name (the default is 'doxygen-doc').
leo_sobral@2
    37
leo_sobral@2
    38
## ----------##
leo_sobral@2
    39
## Defaults. ##
leo_sobral@2
    40
## ----------##
leo_sobral@2
    41
leo_sobral@2
    42
DX_ENV=""
leo_sobral@2
    43
AC_DEFUN([DX_FEATURE_doc],  ON)
leo_sobral@2
    44
AC_DEFUN([DX_FEATURE_dot],  ON)
leo_sobral@2
    45
AC_DEFUN([DX_FEATURE_man],  OFF)
leo_sobral@2
    46
AC_DEFUN([DX_FEATURE_html], ON)
leo_sobral@2
    47
AC_DEFUN([DX_FEATURE_chm],  OFF)
leo_sobral@2
    48
AC_DEFUN([DX_FEATURE_chi],  OFF)
leo_sobral@2
    49
AC_DEFUN([DX_FEATURE_rtf],  OFF)
leo_sobral@2
    50
AC_DEFUN([DX_FEATURE_xml],  OFF)
leo_sobral@2
    51
AC_DEFUN([DX_FEATURE_pdf],  ON)
leo_sobral@2
    52
AC_DEFUN([DX_FEATURE_ps],   ON)
leo_sobral@2
    53
leo_sobral@2
    54
## --------------- ##
leo_sobral@2
    55
## Private macros. ##
leo_sobral@2
    56
## --------------- ##
leo_sobral@2
    57
leo_sobral@2
    58
# DX_ENV_APPEND(VARIABLE, VALUE)
leo_sobral@2
    59
# ------------------------------
leo_sobral@2
    60
# Append VARIABLE="VALUE" to DX_ENV for invoking doxygen.
leo_sobral@2
    61
AC_DEFUN([DX_ENV_APPEND], [AC_SUBST([DX_ENV], ["$DX_ENV $1='$2'"])])
leo_sobral@2
    62
leo_sobral@2
    63
# DX_DIRNAME_EXPR
leo_sobral@2
    64
# ---------------
leo_sobral@2
    65
# Expand into a shell expression prints the directory part of a path.
leo_sobral@2
    66
AC_DEFUN([DX_DIRNAME_EXPR],
leo_sobral@2
    67
         [[expr ".$1" : '\(\.\)[^/]*$' \| "x$1" : 'x\(.*\)/[^/]*$']])
leo_sobral@2
    68
leo_sobral@2
    69
# DX_IF_FEATURE(FEATURE, IF-ON, IF-OFF)
leo_sobral@2
    70
# -------------------------------------
leo_sobral@2
    71
# Expands according to the M4 (static) status of the feature.
leo_sobral@2
    72
AC_DEFUN([DX_IF_FEATURE], [ifelse(DX_FEATURE_$1, ON, [$2], [$3])])
leo_sobral@2
    73
leo_sobral@2
    74
# DX_REQUIRE_PROG(VARIABLE, PROGRAM)
leo_sobral@2
    75
# ----------------------------------
leo_sobral@2
    76
# Require the specified program to be found for the DX_CURRENT_FEATURE to work.
leo_sobral@2
    77
AC_DEFUN([DX_REQUIRE_PROG], [
leo_sobral@2
    78
AC_PATH_TOOL([$1], [$2])
leo_sobral@2
    79
if test "$DX_FLAG_[]DX_CURRENT_FEATURE$$1" = 1; then
leo_sobral@2
    80
    AC_MSG_WARN([$2 not found - will not DX_CURRENT_DESCRIPTION])
leo_sobral@2
    81
    AC_SUBST([DX_FLAG_[]DX_CURRENT_FEATURE], 0)
leo_sobral@2
    82
fi
leo_sobral@2
    83
])
leo_sobral@2
    84
leo_sobral@2
    85
# DX_TEST_FEATURE(FEATURE)
leo_sobral@2
    86
# ------------------------
leo_sobral@2
    87
# Expand to a shell expression testing whether the feature is active.
leo_sobral@2
    88
AC_DEFUN([DX_TEST_FEATURE], [test "$DX_FLAG_$1" = 1])
leo_sobral@2
    89
leo_sobral@2
    90
# DX_CHECK_DEPEND(REQUIRED_FEATURE, REQUIRED_STATE)
leo_sobral@2
    91
# -------------------------------------------------
leo_sobral@2
    92
# Verify that a required features has the right state before trying to turn on
leo_sobral@2
    93
# the DX_CURRENT_FEATURE.
leo_sobral@2
    94
AC_DEFUN([DX_CHECK_DEPEND], [
leo_sobral@2
    95
test "$DX_FLAG_$1" = "$2" \
leo_sobral@2
    96
|| AC_MSG_ERROR([doxygen-DX_CURRENT_FEATURE ifelse([$2], 1,
leo_sobral@2
    97
                            requires, contradicts) doxygen-DX_CURRENT_FEATURE])
leo_sobral@2
    98
])
leo_sobral@2
    99
leo_sobral@2
   100
# DX_CLEAR_DEPEND(FEATURE, REQUIRED_FEATURE, REQUIRED_STATE)
leo_sobral@2
   101
# ----------------------------------------------------------
leo_sobral@2
   102
# Turn off the DX_CURRENT_FEATURE if the required feature is off.
leo_sobral@2
   103
AC_DEFUN([DX_CLEAR_DEPEND], [
leo_sobral@2
   104
test "$DX_FLAG_$1" = "$2" || AC_SUBST([DX_FLAG_[]DX_CURRENT_FEATURE], 0)
leo_sobral@2
   105
])
leo_sobral@2
   106
leo_sobral@2
   107
# DX_FEATURE_ARG(FEATURE, DESCRIPTION,
leo_sobral@2
   108
#                CHECK_DEPEND, CLEAR_DEPEND,
leo_sobral@2
   109
#                REQUIRE, DO-IF-ON, DO-IF-OFF)
leo_sobral@2
   110
# --------------------------------------------
leo_sobral@2
   111
# Parse the command-line option controlling a feature. CHECK_DEPEND is called
leo_sobral@2
   112
# if the user explicitly turns the feature on (and invokes DX_CHECK_DEPEND),
leo_sobral@2
   113
# otherwise CLEAR_DEPEND is called to turn off the default state if a required
leo_sobral@2
   114
# feature is disabled (using DX_CLEAR_DEPEND). REQUIRE performs additional
leo_sobral@2
   115
# requirement tests (DX_REQUIRE_PROG). Finally, an automake flag is set and
leo_sobral@2
   116
# DO-IF-ON or DO-IF-OFF are called according to the final state of the feature.
leo_sobral@2
   117
AC_DEFUN([DX_ARG_ABLE], [
leo_sobral@2
   118
    AC_DEFUN([DX_CURRENT_FEATURE], [$1])
leo_sobral@2
   119
    AC_DEFUN([DX_CURRENT_DESCRIPTION], [$2])
leo_sobral@2
   120
    AC_ARG_ENABLE(doxygen-$1,
leo_sobral@2
   121
                  [AS_HELP_STRING(DX_IF_FEATURE([$1], [--disable-doxygen-$1],
leo_sobral@2
   122
                                                      [--enable-doxygen-$1]),
leo_sobral@2
   123
                                  DX_IF_FEATURE([$1], [don't $2], [$2]))],
leo_sobral@2
   124
                  [
leo_sobral@2
   125
case "$enableval" in
leo_sobral@2
   126
#(
leo_sobral@2
   127
y|Y|yes|Yes|YES)
leo_sobral@2
   128
    AC_SUBST([DX_FLAG_$1], 1)
leo_sobral@2
   129
    $3
leo_sobral@2
   130
;; #(
leo_sobral@2
   131
n|N|no|No|NO)
leo_sobral@2
   132
    AC_SUBST([DX_FLAG_$1], 0)
leo_sobral@2
   133
;; #(
leo_sobral@2
   134
*)
leo_sobral@2
   135
    AC_MSG_ERROR([invalid value '$enableval' given to doxygen-$1])
leo_sobral@2
   136
;;
leo_sobral@2
   137
esac
leo_sobral@2
   138
], [
leo_sobral@2
   139
AC_SUBST([DX_FLAG_$1], [DX_IF_FEATURE([$1], 1, 0)])
leo_sobral@2
   140
$4
leo_sobral@2
   141
])
leo_sobral@2
   142
if DX_TEST_FEATURE([$1]); then
leo_sobral@2
   143
    $5
leo_sobral@2
   144
    :
leo_sobral@2
   145
fi
leo_sobral@2
   146
if DX_TEST_FEATURE([$1]); then
leo_sobral@2
   147
    AM_CONDITIONAL(DX_COND_$1, :)
leo_sobral@2
   148
    $6
leo_sobral@2
   149
    :
leo_sobral@2
   150
else
leo_sobral@2
   151
    AM_CONDITIONAL(DX_COND_$1, false)
leo_sobral@2
   152
    $7
leo_sobral@2
   153
    :
leo_sobral@2
   154
fi
leo_sobral@2
   155
])
leo_sobral@2
   156
leo_sobral@2
   157
## -------------- ##
leo_sobral@2
   158
## Public macros. ##
leo_sobral@2
   159
## -------------- ##
leo_sobral@2
   160
leo_sobral@2
   161
# DX_XXX_FEATURE(DEFAULT_STATE)
leo_sobral@2
   162
# -----------------------------
leo_sobral@2
   163
AC_DEFUN([DX_DOXYGEN_FEATURE], [AC_DEFUN([DX_FEATURE_doc],  [$1])])
leo_sobral@2
   164
AC_DEFUN([DX_MAN_FEATURE],     [AC_DEFUN([DX_FEATURE_man],  [$1])])
leo_sobral@2
   165
AC_DEFUN([DX_HTML_FEATURE],    [AC_DEFUN([DX_FEATURE_html], [$1])])
leo_sobral@2
   166
AC_DEFUN([DX_CHM_FEATURE],     [AC_DEFUN([DX_FEATURE_chm],  [$1])])
leo_sobral@2
   167
AC_DEFUN([DX_CHI_FEATURE],     [AC_DEFUN([DX_FEATURE_chi],  [$1])])
leo_sobral@2
   168
AC_DEFUN([DX_RTF_FEATURE],     [AC_DEFUN([DX_FEATURE_rtf],  [$1])])
leo_sobral@2
   169
AC_DEFUN([DX_XML_FEATURE],     [AC_DEFUN([DX_FEATURE_xml],  [$1])])
leo_sobral@2
   170
AC_DEFUN([DX_XML_FEATURE],     [AC_DEFUN([DX_FEATURE_xml],  [$1])])
leo_sobral@2
   171
AC_DEFUN([DX_PDF_FEATURE],     [AC_DEFUN([DX_FEATURE_pdf],  [$1])])
leo_sobral@2
   172
AC_DEFUN([DX_PS_FEATURE],      [AC_DEFUN([DX_FEATURE_ps],   [$1])])
leo_sobral@2
   173
leo_sobral@2
   174
# DX_INIT_DOXYGEN(PROJECT, [CONFIG-FILE], [OUTPUT-DOC-DIR])
leo_sobral@2
   175
# ---------------------------------------------------------
leo_sobral@2
   176
# PROJECT also serves as the base name for the documentation files.
leo_sobral@2
   177
# The default CONFIG-FILE is "Doxyfile" and OUTPUT-DOC-DIR is "doxygen-doc".
leo_sobral@2
   178
AC_DEFUN([DX_INIT_DOXYGEN], [
leo_sobral@2
   179
leo_sobral@2
   180
# Files:
leo_sobral@2
   181
AC_SUBST([DX_PROJECT], [$1])
leo_sobral@2
   182
AC_SUBST([DX_CONFIG], [ifelse([$2], [], Doxyfile, [$2])])
leo_sobral@2
   183
AC_SUBST([DX_DOCDIR], [ifelse([$3], [], doxygen-doc, [$3])])
leo_sobral@2
   184
leo_sobral@2
   185
# Environment variables used inside doxygen.cfg:
leo_sobral@2
   186
DX_ENV_APPEND(SRCDIR, $srcdir)
leo_sobral@2
   187
DX_ENV_APPEND(PROJECT, $DX_PROJECT)
leo_sobral@2
   188
DX_ENV_APPEND(DOCDIR, $DX_DOCDIR)
leo_sobral@2
   189
DX_ENV_APPEND(VERSION, $PACKAGE_VERSION)
leo_sobral@2
   190
leo_sobral@2
   191
# Doxygen itself:
leo_sobral@2
   192
DX_ARG_ABLE(doc, [generate any doxygen documentation],
leo_sobral@2
   193
            [],
leo_sobral@2
   194
            [],
leo_sobral@2
   195
            [DX_REQUIRE_PROG([DX_DOXYGEN], doxygen)
leo_sobral@2
   196
             DX_REQUIRE_PROG([DX_PERL], perl)],
leo_sobral@2
   197
            [DX_ENV_APPEND(PERL_PATH, $DX_PERL)])
leo_sobral@2
   198
leo_sobral@2
   199
# Dot for graphics:
leo_sobral@2
   200
DX_ARG_ABLE(dot, [generate graphics for doxygen documentation],
leo_sobral@2
   201
            [DX_CHECK_DEPEND(doc, 1)],
leo_sobral@2
   202
            [DX_CLEAR_DEPEND(doc, 1)],
leo_sobral@2
   203
            [DX_REQUIRE_PROG([DX_DOT], dot)],
leo_sobral@2
   204
            [DX_ENV_APPEND(HAVE_DOT, YES)
leo_sobral@2
   205
             DX_ENV_APPEND(DOT_PATH, [`DX_DIRNAME_EXPR($DX_DOT)`])],
leo_sobral@2
   206
            [DX_ENV_APPEND(HAVE_DOT, NO)])
leo_sobral@2
   207
leo_sobral@2
   208
# Man pages generation:
leo_sobral@2
   209
DX_ARG_ABLE(man, [generate doxygen manual pages],
leo_sobral@2
   210
            [DX_CHECK_DEPEND(doc, 1)],
leo_sobral@2
   211
            [DX_CLEAR_DEPEND(doc, 1)],
leo_sobral@2
   212
            [],
leo_sobral@2
   213
            [DX_ENV_APPEND(GENERATE_MAN, YES)],
leo_sobral@2
   214
            [DX_ENV_APPEND(GENERATE_MAN, NO)])
leo_sobral@2
   215
leo_sobral@2
   216
# RTF file generation:
leo_sobral@2
   217
DX_ARG_ABLE(rtf, [generate doxygen RTF documentation],
leo_sobral@2
   218
            [DX_CHECK_DEPEND(doc, 1)],
leo_sobral@2
   219
            [DX_CLEAR_DEPEND(doc, 1)],
leo_sobral@2
   220
            [],
leo_sobral@2
   221
            [DX_ENV_APPEND(GENERATE_RTF, YES)],
leo_sobral@2
   222
            [DX_ENV_APPEND(GENERATE_RTF, NO)])
leo_sobral@2
   223
leo_sobral@2
   224
# XML file generation:
leo_sobral@2
   225
DX_ARG_ABLE(xml, [generate doxygen XML documentation],
leo_sobral@2
   226
            [DX_CHECK_DEPEND(doc, 1)],
leo_sobral@2
   227
            [DX_CLEAR_DEPEND(doc, 1)],
leo_sobral@2
   228
            [],
leo_sobral@2
   229
            [DX_ENV_APPEND(GENERATE_XML, YES)],
leo_sobral@2
   230
            [DX_ENV_APPEND(GENERATE_XML, NO)])
leo_sobral@2
   231
leo_sobral@2
   232
# (Compressed) HTML help generation:
leo_sobral@2
   233
DX_ARG_ABLE(chm, [generate doxygen compressed HTML help documentation],
leo_sobral@2
   234
            [DX_CHECK_DEPEND(doc, 1)],
leo_sobral@2
   235
            [DX_CLEAR_DEPEND(doc, 1)],
leo_sobral@2
   236
            [DX_REQUIRE_PROG([DX_HHC], hhc)],
leo_sobral@2
   237
            [DX_ENV_APPEND(HHC_PATH, $DX_HHC)
leo_sobral@2
   238
             DX_ENV_APPEND(GENERATE_HTML, YES)
leo_sobral@2
   239
             DX_ENV_APPEND(GENERATE_HTMLHELP, YES)],
leo_sobral@2
   240
            [DX_ENV_APPEND(GENERATE_HTMLHELP, NO)])
leo_sobral@2
   241
leo_sobral@2
   242
# Seperate CHI file generation.
leo_sobral@2
   243
DX_ARG_ABLE(chi, [generate doxygen seperate compressed HTML help index file],
leo_sobral@2
   244
            [DX_CHECK_DEPEND(chm, 1)],
leo_sobral@2
   245
            [DX_CLEAR_DEPEND(chm, 1)],
leo_sobral@2
   246
            [],
leo_sobral@2
   247
            [DX_ENV_APPEND(GENERATE_CHI, YES)],
leo_sobral@2
   248
            [DX_ENV_APPEND(GENERATE_CHI, NO)])
leo_sobral@2
   249
leo_sobral@2
   250
# Plain HTML pages generation:
leo_sobral@2
   251
DX_ARG_ABLE(html, [generate doxygen plain HTML documentation],
leo_sobral@2
   252
            [DX_CHECK_DEPEND(doc, 1) DX_CHECK_DEPEND(chm, 0)],
leo_sobral@2
   253
            [DX_CLEAR_DEPEND(doc, 1) DX_CLEAR_DEPEND(chm, 0)],
leo_sobral@2
   254
            [],
leo_sobral@2
   255
            [DX_ENV_APPEND(GENERATE_HTML, YES)],
leo_sobral@2
   256
            [DX_TEST_FEATURE(chm) || DX_ENV_APPEND(GENERATE_HTML, NO)])
leo_sobral@2
   257
leo_sobral@2
   258
# PostScript file generation:
leo_sobral@2
   259
DX_ARG_ABLE(ps, [generate doxygen PostScript documentation],
leo_sobral@2
   260
            [DX_CHECK_DEPEND(doc, 1)],
leo_sobral@2
   261
            [DX_CLEAR_DEPEND(doc, 1)],
leo_sobral@2
   262
            [DX_REQUIRE_PROG([DX_LATEX], latex)
leo_sobral@2
   263
             DX_REQUIRE_PROG([DX_MAKEINDEX], makeindex)
leo_sobral@2
   264
             DX_REQUIRE_PROG([DX_DVIPS], dvips)
leo_sobral@2
   265
             DX_REQUIRE_PROG([DX_EGREP], egrep)])
leo_sobral@2
   266
leo_sobral@2
   267
# PDF file generation:
leo_sobral@2
   268
DX_ARG_ABLE(pdf, [generate doxygen PDF documentation],
leo_sobral@2
   269
            [DX_CHECK_DEPEND(doc, 1)],
leo_sobral@2
   270
            [DX_CLEAR_DEPEND(doc, 1)],
leo_sobral@2
   271
            [DX_REQUIRE_PROG([DX_PDFLATEX], pdflatex)
leo_sobral@2
   272
             DX_REQUIRE_PROG([DX_MAKEINDEX], makeindex)
leo_sobral@2
   273
             DX_REQUIRE_PROG([DX_EGREP], egrep)])
leo_sobral@2
   274
leo_sobral@2
   275
# LaTeX generation for PS and/or PDF:
leo_sobral@2
   276
if DX_TEST_FEATURE(ps) || DX_TEST_FEATURE(pdf); then
leo_sobral@2
   277
    AM_CONDITIONAL(DX_COND_latex, :)
leo_sobral@2
   278
    DX_ENV_APPEND(GENERATE_LATEX, YES)
leo_sobral@2
   279
else
leo_sobral@2
   280
    AM_CONDITIONAL(DX_COND_latex, false)
leo_sobral@2
   281
    DX_ENV_APPEND(GENERATE_LATEX, NO)
leo_sobral@2
   282
fi
leo_sobral@2
   283
leo_sobral@2
   284
# Paper size for PS and/or PDF:
leo_sobral@2
   285
AC_ARG_VAR(DOXYGEN_PAPER_SIZE,
leo_sobral@2
   286
           [a4wide (default), a4, letter, legal or executive])
leo_sobral@2
   287
case "$DOXYGEN_PAPER_SIZE" in
leo_sobral@2
   288
#(
leo_sobral@2
   289
"")
leo_sobral@2
   290
    AC_SUBST(DOXYGEN_PAPER_SIZE, "")
leo_sobral@2
   291
;; #(
leo_sobral@2
   292
a4wide|a4|letter|legal|executive)
leo_sobral@2
   293
    DX_ENV_APPEND(PAPER_SIZE, $DOXYGEN_PAPER_SIZE)
leo_sobral@2
   294
;; #(
leo_sobral@2
   295
*)
leo_sobral@2
   296
    AC_MSG_ERROR([unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'])
leo_sobral@2
   297
;;
leo_sobral@2
   298
esac
leo_sobral@2
   299
leo_sobral@2
   300
#For debugging:
leo_sobral@2
   301
#echo DX_FLAG_doc=$DX_FLAG_doc
leo_sobral@2
   302
#echo DX_FLAG_dot=$DX_FLAG_dot
leo_sobral@2
   303
#echo DX_FLAG_man=$DX_FLAG_man
leo_sobral@2
   304
#echo DX_FLAG_html=$DX_FLAG_html
leo_sobral@2
   305
#echo DX_FLAG_chm=$DX_FLAG_chm
leo_sobral@2
   306
#echo DX_FLAG_chi=$DX_FLAG_chi
leo_sobral@2
   307
#echo DX_FLAG_rtf=$DX_FLAG_rtf
leo_sobral@2
   308
#echo DX_FLAG_xml=$DX_FLAG_xml
leo_sobral@2
   309
#echo DX_FLAG_pdf=$DX_FLAG_pdf
leo_sobral@2
   310
#echo DX_FLAG_ps=$DX_FLAG_ps
leo_sobral@2
   311
#echo DX_ENV=$DX_ENV
leo_sobral@2
   312
])