From b121a13c9490ac690d57a7e9bbfe729cd9d197fc Mon Sep 17 00:00:00 2001 From: Robert Ancell Date: Thu, 6 Dec 2012 15:58:44 +1300 Subject: Get distcheck working --- Makefile.am | 2 ++ autogen.sh | 19 +++++++++++-------- po/POTFILES.in | 2 +- po/POTFILES.skip | 2 +- 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/Makefile.am b/Makefile.am index 0d6e86d..4fa38ad 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,5 @@ SUBDIRS = data po src EXTRA_DIST = autogen.sh NEWS + +DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall diff --git a/autogen.sh b/autogen.sh index 672b25b..82480e7 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,9 +1,12 @@ #!/bin/sh -# Run this to generate all the initial makefiles, etc. - -libtoolize -intltoolize --force -aclocal -automake --add-missing --copy --foreign -autoconf -./configure $@ + +PKG_NAME="indicator-bluetooth" + +which gnome-autogen.sh || { + echo "You need gnome-common" + exit 1 +} + +USE_GNOME2_MACROS=1 \ +. gnome-autogen.sh + diff --git a/po/POTFILES.in b/po/POTFILES.in index b1f140c..3d935d7 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,4 +1,4 @@ # List of source files containing translatable strings. # Please keep this file in alphabetical order. [encoding: UTF-8] -src/indicator-bluetooth.vala +src/indicator-bluetooth-service.vala diff --git a/po/POTFILES.skip b/po/POTFILES.skip index dfa1f6d..6161392 100644 --- a/po/POTFILES.skip +++ b/po/POTFILES.skip @@ -1 +1 @@ -src/indicator-bluetooth.c +src/indicator-bluetooth-service.c -- cgit v1.2.3