[Xfce4-commits] <xfce4-fsguard-plugin:master> Update autotools build
Mike Massonnet
mmassonnet at xfce.org
Tue Aug 18 12:14:05 CEST 2009
Updating branch refs/heads/master
to a7bada048d241b4e87526b327f3e259797b6ffaf (commit)
from 3e46517bcb33dc978ef1a3c33e1c8298499b0d23 (commit)
commit a7bada048d241b4e87526b327f3e259797b6ffaf
Author: Mike Massonnet <mmassonnet at xfce.org>
Date: Tue Aug 18 12:05:05 2009 +0200
Update autotools build
Drop the po/LINGUAS file and substitute them directly inside the
configure script instead.
Update the version tag svn=>git and pass the project URL.
autogen.sh | 11 +----------
configure.in.in | 10 +++++-----
2 files changed, 6 insertions(+), 15 deletions(-)
diff --git a/autogen.sh b/autogen.sh
index e913343..e02424b 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -18,17 +18,8 @@ EOF
exit 1
}
-# verify that po/LINGUAS is present
-(test -f po/LINGUAS) >/dev/null 2>&1 || {
- cat >&2 <<EOF
-autogen.sh: The file po/LINGUAS could not be found. Please check your snapshot
- or try to checkout again.
-EOF
- exit 1
-}
-
# substitute revision and linguas
-linguas=`sed -e '/^#/d' po/LINGUAS`
+linguas=`ls po/*.po 2>/dev/null | awk 'BEGIN {FS="[./]"; ORS=" "} {print $2}'`
if [ -d .git ]; then
revision=$(git log --pretty=format:%h -n 1)
else
diff --git a/configure.in.in b/configure.in.in
index 1331e90..ed40c16 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -10,13 +10,13 @@ m4_define([xfce4_fsguard_plugin_version_major], [0])
m4_define([xfce4_fsguard_plugin_version_minor], [4])
m4_define([xfce4_fsguard_plugin_version_micro], [2])
m4_define([xfce4_fsguard_plugin_version_nano], [])
-m4_define([xfce4_fsguard_plugin_version_build], [r at REVISION@])
-m4_define([xfce4_fsguard_plugin_version_tag], [svn]) # Leave empty for releases
-m4_define([xfce4_fsguard_plugin_version], [xfce4_fsguard_plugin_version_major().xfce4_fsguard_plugin_version_minor().xfce4_fsguard_plugin_version_micro()ifelse(xfce4_fsguard_plugin_version_nano(), [], [], [.xfce4_fsguard_plugin_version_nano()])ifelse(xfce4_fsguard_plugin_version_tag(), [svn], [xfce4_fsguard_plugin_version_tag()-xfce4_fsguard_plugin_version_build()], [xfce4_fsguard_plugin_version_tag()])])
+m4_define([xfce4_fsguard_plugin_version_build], [@REVISION@])
+m4_define([xfce4_fsguard_plugin_version_tag], [git]) # Leave empty for releases
+m4_define([xfce4_fsguard_plugin_version], [xfce4_fsguard_plugin_version_major().xfce4_fsguard_plugin_version_minor().xfce4_fsguard_plugin_version_micro()ifelse(xfce4_fsguard_plugin_version_nano(), [], [], [.xfce4_fsguard_plugin_version_nano()])ifelse(xfce4_fsguard_plugin_version_tag(), [git], [xfce4_fsguard_plugin_version_tag()-xfce4_fsguard_plugin_version_build()], [xfce4_fsguard_plugin_version_tag()])])
-AC_INIT([xfce4-fsguard-plugin], [xfce4_fsguard_plugin_version],
- [goodies-dev at xfce.org])
+AC_INIT([Free Space Checker], [xfce4_fsguard_plugin_version], [http://bugzilla.xfce.org/], [xfce4-fsguard-plugin],
+ [http://goodies.xfce.org/projects/panel-plugins/xfce4-fsguard-plugin])
AM_INIT_AUTOMAKE([xfce4-fsguard-plugin], [xfce4_fsguard_plugin_version()])
AM_CONFIG_HEADER([config.h])
More information about the Xfce4-commits
mailing list