mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-22 02:32:29 +01:00
Update references to configure.in
This commit is contained in:
parent
3384388267
commit
1e78c5b4a1
@ -5,18 +5,18 @@ Upstream
|
||||
|
||||
export VERSION=x.y.z
|
||||
|
||||
* update `configure.in` and `ChangeLog`
|
||||
* update `configure.ac` and `ChangeLog`
|
||||
|
||||
perl -pi -E \
|
||||
"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 \
|
||||
"s{^version\s+[0-9.]+\s+--\s+UNRELEASED$}{version $VERSION -- $RELEASE_DATE}" \
|
||||
ChangeLog
|
||||
|
||||
* commit, tag and create the tarball:
|
||||
|
||||
git commit configure.in ChangeLog \
|
||||
git commit configure.ac ChangeLog \
|
||||
-m "Releasing backupninja $VERSION" && \
|
||||
git clean -fdx && \
|
||||
git tag -s "backupninja-$VERSION" \
|
||||
|
@ -8,10 +8,10 @@ fi
|
||||
if [ "x$1" = "x-f" ]
|
||||
then
|
||||
autoscan
|
||||
[ -f "configure.in" ] && cp "configure.in" "configure.in.old"
|
||||
mv -f "configure.scan" "configure.in"
|
||||
echo "## This is just AUTOSCAN draft of configure.in"
|
||||
$EDITOR "configure.in"
|
||||
[ -f "configure.ac" ] && cp "configure.ac" "configure.ac.old"
|
||||
mv -f "configure.scan" "configure.ac"
|
||||
echo "## This is just AUTOSCAN draft of configure.ac"
|
||||
$EDITOR "configure.ac"
|
||||
fi
|
||||
|
||||
### použít jen když je třeba použít configure.h.in
|
||||
|
Loading…
Reference in New Issue
Block a user