summaryrefslogtreecommitdiff
path: root/make_configure
diff options
context:
space:
mode:
authorDidier Raboud <didier@raboud.com>2010-05-23 00:05:04 +0200
committerDidier Raboud <didier@raboud.com>2010-05-23 00:05:04 +0200
commit014f0e14a3c6a044d99a67c8f4e1c4065452479e (patch)
tree300200f9bf0f3ebb0878741ddb287caf2e0d862e /make_configure
parent6fefeecb6abbb1f7dfe07ade1a0abef06dac5d32 (diff)
Imported Upstream version 4.0-20090301upstream/4.0-20090301
Diffstat (limited to 'make_configure')
-rwxr-xr-xmake_configure14
1 files changed, 13 insertions, 1 deletions
diff --git a/make_configure b/make_configure
index 2664dee..9955254 100755
--- a/make_configure
+++ b/make_configure
@@ -1,3 +1,15 @@
+#!/bin/sh
+autoheader
aclocal
autoconf
-perl -p -i -e "s=\#include <xmlversion.h>=\#include <libxml/xmlversion.h>=g" configure \ No newline at end of file
+automake -ac
+
+REVNO=`bzr revno 2> /dev/null`
+if [ -z $REVNO ]; then
+ echo `cat VERSION` > VERSION.full
+else
+ echo `cat VERSION`.$REVNO > VERSION.full
+fi
+
+
+#perl -p -i -e "s=\#include <xmlversion.h>=\#include <libxml/xmlversion.h>=g" configure