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

Rémi Cardona remi at gentoo.org
Sat Dec 12 01:59:13 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 cb96a7b..1c35593 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -27,10 +27,9 @@ damage_HEADERS = \
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = damageproto.pc
 
-damagedocdir = $(datadir)/doc/$(PACKAGE)
-damagedoc_DATA = damageproto.txt
+dist_doc_DATA = damageproto.txt
 
-EXTRA_DIST = autogen.sh damageproto.pc.in $(damagedoc_DATA)
+EXTRA_DIST = autogen.sh damageproto.pc.in
 
 MAINTAINERCLEANFILES = ChangeLog INSTALL
 
diff --git a/configure.ac b/configure.ac
index 443f59b..b0d682b 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([DamageProto], [1.2.0], [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