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 /xorg-sgml-doctools.pc.in | |
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 'xorg-sgml-doctools.pc.in')
-rw-r--r-- | xorg-sgml-doctools.pc.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/xorg-sgml-doctools.pc.in b/xorg-sgml-doctools.pc.in index ae1422a..9546fa7 100644 --- a/xorg-sgml-doctools.pc.in +++ b/xorg-sgml-doctools.pc.in @@ -1,6 +1,7 @@ prefix=@prefix@ -sgmlrootdir=${prefix}/share/sgml +datarootdir=@datarootdir@ +sgmlrootdir=@sgmlrootdir@ Name: xorg-sgml-doctools -Description: SGML entities for X.Org documentation -Version: @VERSION@ +Description: Stylesheets and entities for X.Org documentation +Version: @PACKAGE_VERSION@ |