Changed versioning and tarball name to match unpack directory name

This commit is contained in:
2010-02-22 19:54:48 +00:00
parent 9d8676c3ef
commit 5d79606532
4 changed files with 49 additions and 19 deletions

View File

@ -12,21 +12,21 @@
# libisofs libburn libisoburn
# obtained by following instructions on http://libburnia-project.org.
#
# It creates a standalone tree for building GNU xorriso
# from the contents of a unified libburnia development tree.
# It creates a new directory tree
# xorriso-standalone
# for building GNU xorriso.
#
# The ./bootstrap script gets applied and a source tarball
# is made.
#
# From that tree can be build a binary xorriso/xorriso
# which at runtime depends only on libc and libpthread.
# Execute in $lone_dir :
# From that tree can be build a binary xorriso/xorriso which at runtime
# does not depend on installed libburnia libraries.
# Execute in xorriso-standalone :
#
# ./configure && make
#
# By the following variable setting
# create_gnu_xorriso="yes"
# By the variable setting create_gnu_xorriso="yes"
# the result will become a GNU xorriso tarball under GPLv3+.
# Without this setting, the result is technically equivalent but
# stays under GPLv2+. In that case the files xorriso/*_gnu_xorriso
@ -41,10 +41,10 @@ current_dir=$(pwd)
lone_dir="$current_dir"/"xorriso-standalone"
xorriso_rev=0.4.9
# For unstable uploads:
# For unstable uploads and patch level 0 of stable releases:
xorriso_pl=""
# For stable releases:
## xorriso_pl=".pl00"
# For higher patch levels of stable releases:
## xorriso_pl=".pl01"
with_bootstrap_tarball=1
@ -247,7 +247,7 @@ fi
if test "$with_bootstrap_tarball" = 1
then
tarball_dir="$current_dir"/xorriso-"$xorriso_rev"
tarball_dir="$current_dir"/xorriso-"$xorriso_rev""$xorriso_pl"
mv "$lone_dir" "$tarball_dir"
goto_dir "$tarball_dir"
@ -270,6 +270,17 @@ rm -r ./autom4te.cache
chmod a+rx,go-w,u+w ./configure
)
if test "$create_gnu_xorriso" = "yes"
then
# ftp-upload@gnu.org dislikes my automake 1.9 and its chmod a+rwx
sed -e 's/by automake 1.9.6/by automake 1.11.1/' \
-e 's/-perm -777 -exec chmod a+rwx/-perm -755 -exec chmod u+rwx,go+rx/' \
< Makefile.in > new_Makefile.in
mv new_Makefile.in Makefile.in
fi
cd "$current_dir"
tar czf ./xorriso-"$xorriso_rev""$xorriso_pl".tar.gz $(basename "$tarball_dir")