[gnome-tweak-tool] Fix distcheck



commit 4491b2c851a86d720f44316c9a55a4e23e176b88
Author: Kjartan Maraas <kmaraas gnome org>
Date:   Wed Mar 30 12:25:36 2011 +0200

    Fix distcheck

 Makefile.am      |    2 +-
 autogen.sh       |    2 +-
 configure.ac     |    4 +++-
 data/Makefile.am |    3 +++
 4 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 8cebab6..d7446bc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,7 +7,7 @@ nobase_dist_app_PYTHON = \
 	$(wildcard $(srcdir)/gtweak/*.py) \
 	$(wildcard $(srcdir)/gtweak/tweaks/*.py)
 
-EXTRA_DIST = config.rpath m4/ChangeLog  \
+EXTRA_DIST = \
 	$(bin_SCRIPTS)
 
 CLEANFILES = \
diff --git a/autogen.sh b/autogen.sh
index d051d2c..9c2c321 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -22,4 +22,4 @@ if ! which gnome-autogen.sh ; then
   exit 1
 fi
 
-. gnome-autogen.sh
+USE_GNOME2_MACROS=1 . gnome-autogen.sh
diff --git a/configure.ac b/configure.ac
index 7f733b3..73c0819 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,7 +16,9 @@ if test "$GCONFTOOL" = no ; then
 	AC_MSG_ERROR(Cannot find gconftool-2)
 fi
 
-IT_PROG_INTLTOOL
+IT_PROG_INTLTOOL([0.40.0])
+AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION([0.17])
 
 AS_AC_EXPAND(DATADIR, "${datadir}")
 AS_AC_EXPAND(PKGDATADIR, "${datadir}/${PACKAGE}")
diff --git a/data/Makefile.am b/data/Makefile.am
index 29754b8..64146a7 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -10,5 +10,8 @@ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 
 EXTRA_DIST = \
 	$(gui_DATA) \
+	$(desktop_in_files)
+
+CLEANFILES = \
 	$(desktop_DATA)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]