Skip to content
Snippets Groups Projects
Commit 1e78c5b4 authored by Jérôme Charaoui's avatar Jérôme Charaoui
Browse files

Update references to configure.in

parent 33843882
No related branches found
No related tags found
No related merge requests found
...@@ -5,18 +5,18 @@ Upstream ...@@ -5,18 +5,18 @@ Upstream
export VERSION=x.y.z export VERSION=x.y.z
* update `configure.in` and `ChangeLog` * update `configure.ac` and `ChangeLog`
perl -pi -E \ perl -pi -E \
"s{^AC_INIT\(\[backupninja\],\[[0-9.]+\],}{AC_INIT([backupninja],[$VERSION],}" \ "s{^AC_INIT\(\[backupninja\],\[[0-9.]+\],}{AC_INIT([backupninja],[$VERSION],}" \
configure.in && \ configure.ac && \
RELEASE_DATE=$(LC_ALL=C date '+%B %d, %Y') perl -pi -E \ RELEASE_DATE=$(LC_ALL=C date '+%B %d, %Y') perl -pi -E \
"s{^version\s+[0-9.]+\s+--\s+UNRELEASED$}{version $VERSION -- $RELEASE_DATE}" \ "s{^version\s+[0-9.]+\s+--\s+UNRELEASED$}{version $VERSION -- $RELEASE_DATE}" \
ChangeLog ChangeLog
* commit, tag and create the tarball: * commit, tag and create the tarball:
git commit configure.in ChangeLog \ git commit configure.ac ChangeLog \
-m "Releasing backupninja $VERSION" && \ -m "Releasing backupninja $VERSION" && \
git clean -fdx && \ git clean -fdx && \
git tag -s "backupninja-$VERSION" \ git tag -s "backupninja-$VERSION" \
......
...@@ -8,10 +8,10 @@ fi ...@@ -8,10 +8,10 @@ fi
if [ "x$1" = "x-f" ] if [ "x$1" = "x-f" ]
then then
autoscan autoscan
[ -f "configure.in" ] && cp "configure.in" "configure.in.old" [ -f "configure.ac" ] && cp "configure.ac" "configure.ac.old"
mv -f "configure.scan" "configure.in" mv -f "configure.scan" "configure.ac"
echo "## This is just AUTOSCAN draft of configure.in" echo "## This is just AUTOSCAN draft of configure.ac"
$EDITOR "configure.in" $EDITOR "configure.ac"
fi fi
### použít jen když je třeba použít configure.h.in ### použít jen když je třeba použít configure.h.in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment