[PATCH:randrproto] Use $(docdir) for randrproto.txt install path

Rémi Cardona remi at gentoo.org
Sat Dec 12 01:59:15 PST 2009


Signed-off-by: Rémi Cardona <remi at gentoo.org>
---
 Makefile.am  |    5 ++---
 configure.ac |    2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index e4bf141..5a1ce11 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,10 +6,9 @@ randr_HEADERS = \
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = randrproto.pc
 
-randrdocdir = $(datadir)/doc/$(PACKAGE)
-randrdoc_DATA = randrproto.txt
+dist_doc_DATA = randrproto.txt
 
-EXTRA_DIST = randrproto.pc.in $(randrdoc_DATA)
+EXTRA_DIST = randrproto.pc.in
 
 MAINTAINERCLEANFILES = ChangeLog INSTALL
 
diff --git a/configure.ac b/configure.ac
index ec7812f..e876c44 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,7 +21,7 @@ dnl  PERFORMANCE OF THIS SOFTWARE.
 dnl
 dnl Process this file with autoconf to create configure.
 
-AC_PREREQ([2.57])
+AC_PREREQ([2.60])
 AC_INIT([RandrProto], [1.3.1], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg])
 AM_INIT_AUTOMAKE([foreign dist-bzip2])
 AM_MAINTAINER_MODE
-- 
1.6.5.5



More information about the xorg-devel mailing list