diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2010-11-07 19:48:37 -0500 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2010-11-08 19:46:16 -0500 |
commit | d0cec99095e0cdf01ff2695b1cc471214f2294ee (patch) | |
tree | 8918fb9eb74345a5c59d6218a13b3138a17b8a29 /configure.ac | |
parent | 45ee22dd4a64d4a07d6f67d5bdb80d4f2394e222 (diff) |
Upgrade xorg-sgml-doctools to Autoconf 2.60 directory architecture
Currently the value of sgmlrootdir is hard coded relative to $prefix.
In Autoconf 2.60, $datarootdir has been added to define the architecture
independent data directory.
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
Relative to that location, a number of subdirectories have been defined:
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root
[DATAROOTDIR/doc/xorg-sgml-doctools]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
--psdir=DIR ps documentation [DOCDIR]
The sgmlrootdir should hang off datarootdir. If there is a need to specify
a different location, a new configure option should be added:
--sgmldir=DIR sgml stylesheets and entities [DATAROOTDIR/sgml]
An sgmlrootdir Automake variable is defined in configure.ac to provide
a unique value holder for the sgmlrootdir.
Variable PACKAGE_VERSION is preferred over the undocumented VERSION variable.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 6ca9198..9a05526 100644 --- a/configure.ac +++ b/configure.ac @@ -34,6 +34,8 @@ m4_ifndef([XORG_MACROS_VERSION], XORG_MACROS_VERSION(1.3) XORG_DEFAULT_OPTIONS +AC_SUBST([sgmlrootdir],['${datarootdir}/sgml']) + AC_PROG_INSTALL AC_OUTPUT([ |