summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am3
-rw-r--r--configure.ac1
-rw-r--r--xorg-sgml-doctools.pc.in6
3 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index f05b87a..11ea95a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -23,6 +23,9 @@ sgmlentdir = $(prefix)/share/sgml/X11
dist_sgmlent_DATA = defs.ent
+pkgconfigdir = $(datadir)/pkgconfig
+pkgconfig_DATA = xorg-sgml-doctools.pc
+
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 @@
+prefix=@prefix@
+sgmlrootdir=${prefix}/share/sgml
+
+Name: xorg-sgml-doctools
+Description: SGML entities for X.Org documentation
+Version: @VERSION@