diff options
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | xorg-sgml-doctools.pc.in | 7 |
3 files changed, 7 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index 049abac..e3fcca5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,7 +19,7 @@ # TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -sgmldir = $(prefix)/share/sgml/X11 +sgmldir = $(sgmlrootdir)/X11 dist_sgml_DATA = defs.ent xorg.css xorg.xsl 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([ 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@ |