summaryrefslogtreecommitdiff
path: root/make_configure
diff options
context:
space:
mode:
authorDidier Raboud <didier@raboud.com>2010-05-23 00:07:10 +0200
committerDidier Raboud <didier@raboud.com>2010-05-23 00:07:10 +0200
commitf56211f0ff4ddf9371ebc4c31e8f95df1fc81a5c (patch)
treea24f15ea2fc96e0688e96c58e35dde7adeaef3fb /make_configure
parentb834bd56528993fa05a5645da808227aee3e9de7 (diff)
parent014f0e14a3c6a044d99a67c8f4e1c4065452479e (diff)
Merge branch 'upstream'
Conflicts: debian/README.Debian debian/changelog debian/control debian/copyright debian/foomatic-filters.config debian/foomatic-filters.postinst debian/foomatic-filters.postrm debian/foomatic-filters.templates debian/parseconfig.pl debian/po/de.po debian/po/fr.po debian/po/ja.po debian/po/nl.po debian/po/pt_BR.po debian/po/templates.pot debian/po/tr.po debian/rules
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