From: Yaakov Selkowitz <[email protected]> This allows the SGML entities to be found no matter where they are installed, or even when cross-compiling.
Signed-off-by: Yaakov Selkowitz <[email protected]> --- Makefile.am | 5 +++++ configure.ac | 1 + xorg-sgml-doctools.pc.in | 6 ++++++ 3 files changed, 12 insertions(+), 0 deletions(-) create mode 100644 xorg-sgml-doctools.pc.in diff --git a/Makefile.am b/Makefile.am index f05b87a..384815b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,6 +23,11 @@ sgmlentdir = $(prefix)/share/sgml/X11 dist_sgmlent_DATA = defs.ent +pkgconfigdir = $(datadir)/pkgconfig +pkgconfig_DATA = xorg-sgml-doctools.pc + +EXTRA_DIST = xorg-sgml-doctools.pc.in + MAINTAINERCLEANFILES = ChangeLog INSTALL .PHONY: ChangeLog INSTALL diff --git a/configure.ac b/configure.ac index 9f290a5..dd97a27 100644 --- a/configure.ac +++ b/configure.ac @@ -35,4 +35,5 @@ AC_PROG_INSTALL AC_OUTPUT([ Makefile + xorg-sgml-doctools.pc ]) diff --git a/xorg-sgml-doctools.pc.in b/xorg-sgml-doctools.pc.in new file mode 100644 index 0000000..ae1422a --- /dev/null +++ b/xorg-sgml-doctools.pc.in @@ -0,0 +1,6 @@ +pref...@prefix@ +sgmlrootdir=${prefix}/share/sgml + +Name: xorg-sgml-doctools +Description: SGML entities for X.Org documentation +Version: @VERSION@ -- 1.6.6.1 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
