aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEskil Heyn Olsen <eskil@eskil.dk>2001-06-23 13:14:10 +0800
committerEskil Heyn Olsen <eskil@src.gnome.org>2001-06-23 13:14:10 +0800
commit72ca61d74b9942040638b628a6f1358e02d23d42 (patch)
tree8dd568f5bec6876a04e15f1d4e31b673a65d7961
parentf9f97425398fdaadf4b13a45b325b3e1d75d8874 (diff)
downloadgsoc2013-evolution-72ca61d74b9942040638b628a6f1358e02d23d42.tar
gsoc2013-evolution-72ca61d74b9942040638b628a6f1358e02d23d42.tar.gz
gsoc2013-evolution-72ca61d74b9942040638b628a6f1358e02d23d42.tar.bz2
gsoc2013-evolution-72ca61d74b9942040638b628a6f1358e02d23d42.tar.lz
gsoc2013-evolution-72ca61d74b9942040638b628a6f1358e02d23d42.tar.xz
gsoc2013-evolution-72ca61d74b9942040638b628a6f1358e02d23d42.tar.zst
gsoc2013-evolution-72ca61d74b9942040638b628a6f1358e02d23d42.zip
Fixed the cat of pi-version.h
2001-06-22 Eskil Heyn Olsen <eskil@eskil.dk> * gnome-pilot.m4: Fixed the cat of pi-version.h svn path=/trunk/; revision=10403
-rw-r--r--macros/ChangeLog5
-rw-r--r--macros/gnome-pilot.m48
2 files changed, 9 insertions, 4 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index 30a89439d8..adfede372f 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -1,3 +1,8 @@
+2001-06-22 Eskil Heyn Olsen <eskil@eskil.dk>
+
+ * gnome-pilot.m4:
+ Fixed the cat of pi-version.h
+
2001-06-20 Havoc Pennington <hp@redhat.com>
* gnome.m4: fix to include the CFLAGS for extra libraries
diff --git a/macros/gnome-pilot.m4 b/macros/gnome-pilot.m4
index c7c82bfd73..22018f445b 100644
--- a/macros/gnome-pilot.m4
+++ b/macros/gnome-pilot.m4
@@ -67,10 +67,10 @@ AC_DEFUN([PILOT_LINK_HOOK],[
piversion_include="pi-version.h"
fi
- pi_version=`cat $piversion_include|grep PILOT_LINK_VERSION|sed 's/#define PILOT_LINK_VERSION \([[0-9]]*\)/\1/'`
- pi_major=`cat $piversion_include|grep PILOT_LINK_MAJOR|sed 's/#define PILOT_LINK_MAJOR \([[0-9]]*\)/\1/'`
- pi_minor=`cat $piversion_include|grep PILOT_LINK_MINOR|sed 's/#define PILOT_LINK_MINOR \([[0-9]]*\)/\1/'`
- pi_patch=`cat $piversion_include|grep PILOT_LINK_PATCH|sed 's/#define PILOT_LINK_PATCH \"\(.*\)\"/\1/'`
+ pi_version=`cat $incdir/pi-version.h|grep PILOT_LINK_VERSION|sed 's/#define PILOT_LINK_VERSION \([[0-9]]*\)/\1/'`
+ pi_major=`cat $incdir/pi-version.h|grep PILOT_LINK_MAJOR|sed 's/#define PILOT_LINK_MAJOR \([[0-9]]*\)/\1/'`
+ pi_minor=`cat $incdir/pi-version.h|grep PILOT_LINK_MINOR|sed 's/#define PILOT_LINK_MINOR \([[0-9]]*\)/\1/'`
+ pi_patch=`cat $incdir/pi-version.h|grep PILOT_LINK_PATCH|sed 's/#define PILOT_LINK_PATCH \"\(.*\)\"/\1/'`
PILOT_LINK_VERSION="$pi_version.$pi_major.$pi_minor$pi_patch"