2008-01-16 20:13:18 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2008-02-15 21:19:24 +00:00
|
|
|
# make_xorriso_standalone.sh
|
2024-06-09 15:40:17 +00:00
|
|
|
# Copyright 2008 - 2024 Thomas Schmitt, scdbackup@gmx.net, GPLv2+
|
2008-01-16 20:13:18 +00:00
|
|
|
#
|
2008-02-15 21:19:24 +00:00
|
|
|
# Not intended for general use in production installations !
|
|
|
|
#
|
|
|
|
# This is a development tool which expects a special setup of directories.
|
2010-02-22 19:54:48 +00:00
|
|
|
# It creates a new directory tree
|
|
|
|
# xorriso-standalone
|
|
|
|
# for building GNU xorriso.
|
2015-12-27 20:20:38 +00:00
|
|
|
# The ./bootstrap script gets applied and a source tarball is made.
|
|
|
|
#
|
2024-06-09 15:40:17 +00:00
|
|
|
# This development tool is to be executed in a common parent of the directories
|
|
|
|
# nglibisofs-develop jte-develop libburn-develop libisoburn-develop
|
|
|
|
# where tarballs have been unpacked or repository copies have been cloned of
|
|
|
|
# libisofs jte libburn libisoburn
|
|
|
|
# according to instructions on http://libburnia-project.org.
|
|
|
|
# automake and libtool have to be installed on the system.
|
2015-12-27 20:20:38 +00:00
|
|
|
#
|
2024-06-09 15:40:17 +00:00
|
|
|
# Further it is necessary to build a little binary for HTML man page production
|
2015-12-27 20:20:38 +00:00
|
|
|
# (cd libisoburn-develop/xorriso && \
|
|
|
|
# cc -g -Wall -o unite_html_b_line unite_html_b_line.c )
|
|
|
|
#
|
|
|
|
# Then run
|
2008-02-15 21:19:24 +00:00
|
|
|
#
|
2015-12-27 20:20:38 +00:00
|
|
|
# ./libisoburn-develop/xorriso/make_xorriso_standalone.sh
|
2008-01-19 09:09:11 +00:00
|
|
|
#
|
2024-06-09 15:40:17 +00:00
|
|
|
# From the emerging xorriso-standalone tarball can be build a binary
|
2015-12-27 20:20:38 +00:00
|
|
|
# xorriso/xorriso
|
|
|
|
# which at runtime does not depend on installed libburnia libraries.
|
2010-02-22 19:54:48 +00:00
|
|
|
# Execute in xorriso-standalone :
|
2008-01-16 20:13:18 +00:00
|
|
|
#
|
2008-01-19 09:09:11 +00:00
|
|
|
# ./configure && make
|
2008-01-16 20:13:18 +00:00
|
|
|
#
|
|
|
|
|
2010-02-22 19:54:48 +00:00
|
|
|
# By the variable setting create_gnu_xorriso="yes"
|
2010-02-14 15:14:30 +00:00
|
|
|
# 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
|
|
|
|
# are merely informative.
|
|
|
|
# Note that it is not permissible to revert the transition from
|
|
|
|
# GPLv2+ to GPLv3+. (Rather derive a new GPLv2+ from libburnia.)
|
|
|
|
|
|
|
|
create_gnu_xorriso="yes"
|
|
|
|
|
|
|
|
|
2008-01-16 20:13:18 +00:00
|
|
|
current_dir=$(pwd)
|
|
|
|
lone_dir="$current_dir"/"xorriso-standalone"
|
|
|
|
|
2023-06-07 20:46:21 +00:00
|
|
|
xorriso_rev=1.5.7
|
2010-02-22 19:54:48 +00:00
|
|
|
# For unstable uploads and patch level 0 of stable releases:
|
2008-01-26 14:01:19 +00:00
|
|
|
xorriso_pl=""
|
2010-02-22 19:54:48 +00:00
|
|
|
# For higher patch levels of stable releases:
|
|
|
|
## xorriso_pl=".pl01"
|
2008-01-19 09:09:11 +00:00
|
|
|
|
|
|
|
with_bootstrap_tarball=1
|
|
|
|
|
2008-01-16 20:13:18 +00:00
|
|
|
create_dir() {
|
|
|
|
if mkdir "$1"
|
|
|
|
then
|
|
|
|
dummy=dummy
|
|
|
|
else
|
2008-02-15 21:19:24 +00:00
|
|
|
echo "Failed to create : $1" >&2
|
2008-01-16 20:13:18 +00:00
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
goto_dir() {
|
|
|
|
if cd "$1"
|
|
|
|
then
|
|
|
|
dummy=dummy
|
|
|
|
else
|
|
|
|
echo "Failed to cd $1" >&2
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
copy_files() {
|
|
|
|
if cp "$@"
|
|
|
|
then
|
|
|
|
dummy=dummy
|
|
|
|
else
|
|
|
|
echo "Failed to : cp " "$@" >&2
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2012-04-21 19:34:31 +00:00
|
|
|
copy_tree() {
|
|
|
|
if cp -a "$@"
|
|
|
|
then
|
|
|
|
dummy=dummy
|
|
|
|
else
|
|
|
|
echo "Failed to : cp -a " "$@" >&2
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2008-01-16 20:13:18 +00:00
|
|
|
if test -e "$lone_dir"
|
|
|
|
then
|
|
|
|
echo "Already existing : $lone_dir" >&2
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# Top level directory
|
|
|
|
|
|
|
|
goto_dir "$current_dir"/libisoburn-develop
|
|
|
|
|
|
|
|
create_dir "$lone_dir"
|
|
|
|
|
|
|
|
copy_files \
|
|
|
|
AUTHORS \
|
|
|
|
CONTRIBUTORS \
|
2008-02-15 21:19:24 +00:00
|
|
|
COPYRIGHT \
|
|
|
|
COPYING \
|
2012-01-24 11:46:38 +00:00
|
|
|
ChangeLog \
|
2008-02-15 21:19:24 +00:00
|
|
|
INSTALL \
|
2020-11-13 19:36:23 +00:00
|
|
|
NEWS \
|
2008-01-16 20:13:18 +00:00
|
|
|
acinclude.m4 \
|
|
|
|
bootstrap \
|
|
|
|
version.h.in \
|
|
|
|
\
|
|
|
|
"$lone_dir"
|
|
|
|
|
2024-06-09 15:40:17 +00:00
|
|
|
# Formerly copied but actually generated or copied by ./bootstrap:
|
|
|
|
# aclocal.m4 ltmain.sh
|
|
|
|
# compile config.guess config.sub depcomp install-sh missing
|
|
|
|
|
2010-05-17 14:28:30 +00:00
|
|
|
copy_files xorriso/xorriso_bootstrap.txt "$lone_dir"/bootstrap
|
|
|
|
|
2008-01-26 00:26:57 +00:00
|
|
|
copy_files xorriso/configure_ac.txt "$lone_dir"/configure.ac
|
2008-01-16 20:13:18 +00:00
|
|
|
|
2008-01-26 00:26:57 +00:00
|
|
|
copy_files xorriso/xorriso_makefile_am.txt "$lone_dir"/Makefile.am
|
2008-01-16 20:13:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
# libisoburn
|
|
|
|
|
|
|
|
create_dir "$lone_dir"/libisoburn
|
|
|
|
copy_files \
|
2008-01-26 00:26:57 +00:00
|
|
|
libisoburn/*.[ch] \
|
2008-01-16 20:13:18 +00:00
|
|
|
"$lone_dir"/libisoburn
|
2010-10-15 12:16:12 +00:00
|
|
|
copy_files COPYRIGHT "$lone_dir"/libisoburn
|
2008-01-16 20:13:18 +00:00
|
|
|
|
2015-12-26 18:37:39 +00:00
|
|
|
touch \
|
|
|
|
xorriso/man_1_xorriso.html \
|
|
|
|
xorriso/man_1_xorrisofs.html \
|
|
|
|
xorriso/man_1_xorrecord.html
|
|
|
|
|
2008-01-26 00:26:57 +00:00
|
|
|
xorriso/convert_man_to_html.sh
|
2008-01-18 17:03:41 +00:00
|
|
|
|
2008-01-16 20:13:18 +00:00
|
|
|
create_dir "$lone_dir"/xorriso
|
|
|
|
copy_files \
|
2010-05-15 18:48:10 +00:00
|
|
|
xorriso/xorriso.h \
|
2008-01-26 00:26:57 +00:00
|
|
|
xorriso/xorriso_private.h \
|
2010-05-15 18:48:10 +00:00
|
|
|
xorriso/sfile.h \
|
|
|
|
xorriso/sfile.c \
|
|
|
|
xorriso/aux_objects.h \
|
|
|
|
xorriso/aux_objects.c \
|
|
|
|
xorriso/findjob.h \
|
|
|
|
xorriso/findjob.c \
|
|
|
|
xorriso/check_media.h \
|
|
|
|
xorriso/check_media.c \
|
|
|
|
xorriso/misc_funct.h \
|
|
|
|
xorriso/misc_funct.c \
|
|
|
|
xorriso/text_io.h \
|
|
|
|
xorriso/text_io.c \
|
|
|
|
xorriso/match.h \
|
|
|
|
xorriso/match.c \
|
|
|
|
xorriso/emulators.h \
|
|
|
|
xorriso/emulators.c \
|
|
|
|
xorriso/disk_ops.h \
|
|
|
|
xorriso/disk_ops.c \
|
|
|
|
xorriso/cmp_update.h \
|
|
|
|
xorriso/cmp_update.c \
|
|
|
|
xorriso/parse_exec.h \
|
|
|
|
xorriso/parse_exec.c \
|
|
|
|
xorriso/opts_a_c.c \
|
|
|
|
xorriso/opts_d_h.c \
|
|
|
|
xorriso/opts_i_o.c \
|
|
|
|
xorriso/opts_p_z.c \
|
2008-07-09 15:56:23 +00:00
|
|
|
\
|
2010-05-15 18:48:10 +00:00
|
|
|
xorriso/xorrisoburn.h \
|
|
|
|
xorriso/base_obj.h \
|
|
|
|
xorriso/base_obj.c \
|
|
|
|
xorriso/lib_mgt.h \
|
|
|
|
xorriso/lib_mgt.c \
|
|
|
|
xorriso/sort_cmp.h \
|
|
|
|
xorriso/sort_cmp.c \
|
|
|
|
xorriso/drive_mgt.h \
|
|
|
|
xorriso/drive_mgt.c \
|
|
|
|
xorriso/iso_img.h \
|
|
|
|
xorriso/iso_img.c \
|
|
|
|
xorriso/iso_tree.h \
|
|
|
|
xorriso/iso_tree.c \
|
|
|
|
xorriso/iso_manip.h \
|
|
|
|
xorriso/iso_manip.c \
|
|
|
|
xorriso/write_run.h \
|
|
|
|
xorriso/write_run.c \
|
|
|
|
xorriso/read_run.h \
|
|
|
|
xorriso/read_run.c \
|
|
|
|
xorriso/filters.h \
|
|
|
|
xorriso/filters.c \
|
|
|
|
\
|
|
|
|
xorriso/xorriso_main.c \
|
2008-01-26 00:26:57 +00:00
|
|
|
xorriso/xorriso_timestamp.h \
|
2008-07-09 15:56:23 +00:00
|
|
|
\
|
2008-01-26 00:26:57 +00:00
|
|
|
xorriso/changelog.txt \
|
|
|
|
xorriso/xorriso_eng.html \
|
2011-03-05 14:15:32 +00:00
|
|
|
xorriso/make_docs.sh \
|
2024-06-09 15:40:17 +00:00
|
|
|
xorriso/make_xorriso_standalone.sh \
|
|
|
|
xorriso/unite_html_b_line.c \
|
|
|
|
xorriso/convert_man_to_html.sh \
|
|
|
|
xorriso/man_xorriso_to_html.sh \
|
|
|
|
xorriso/man_xorrisofs_to_html.sh \
|
|
|
|
xorriso/man_xorrecord_to_html.sh \
|
2010-03-18 10:13:35 +00:00
|
|
|
xorriso/xorriso.texi \
|
|
|
|
xorriso/xorriso.info \
|
2011-03-05 14:15:32 +00:00
|
|
|
xorriso/xorrisofs.texi \
|
|
|
|
xorriso/xorrisofs.info \
|
2011-10-25 10:39:10 +00:00
|
|
|
xorriso/xorrecord.texi \
|
|
|
|
xorriso/xorrecord.info \
|
2017-09-29 11:52:46 +00:00
|
|
|
xorriso/xorriso-tcltk.texi \
|
|
|
|
xorriso/xorriso-tcltk.info \
|
2010-03-18 10:13:35 +00:00
|
|
|
xorriso/make_xorriso_1.c \
|
|
|
|
xorriso/xorriso.1 \
|
2011-03-05 14:15:32 +00:00
|
|
|
xorriso/xorrisofs.1 \
|
2011-10-25 10:39:10 +00:00
|
|
|
xorriso/xorrecord.1 \
|
2017-09-29 11:52:46 +00:00
|
|
|
xorriso/xorriso-tcltk.1 \
|
2008-01-26 00:26:57 +00:00
|
|
|
xorriso/man_1_xorriso.html \
|
2011-03-10 07:15:51 +00:00
|
|
|
xorriso/man_1_xorrisofs.html \
|
2011-10-25 10:39:10 +00:00
|
|
|
xorriso/man_1_xorrecord.html \
|
2008-01-16 20:13:18 +00:00
|
|
|
"$lone_dir"/xorriso
|
2010-10-15 12:16:12 +00:00
|
|
|
copy_files COPYRIGHT "$lone_dir"/xorriso
|
2008-01-16 20:13:18 +00:00
|
|
|
|
2008-07-09 15:56:23 +00:00
|
|
|
copy_files xorriso/xorriso_buildstamp_none.h \
|
|
|
|
"$lone_dir"/xorriso/xorriso_buildstamp.h
|
2009-04-16 14:56:13 +00:00
|
|
|
copy_files xorriso/xorriso_buildstamp_none.h \
|
|
|
|
"$lone_dir"/xorriso/xorriso_buildstamp_none.h
|
2008-07-09 15:56:23 +00:00
|
|
|
|
2010-09-23 13:56:22 +00:00
|
|
|
create_dir "$lone_dir"/doc
|
2011-04-04 14:07:38 +00:00
|
|
|
copy_files doc/partition_offset.wiki \
|
|
|
|
doc/startup_file.txt \
|
2011-11-09 14:49:58 +00:00
|
|
|
doc/qemu_xorriso.wiki \
|
2011-04-04 14:07:38 +00:00
|
|
|
"$lone_dir"/doc
|
2010-09-23 13:56:22 +00:00
|
|
|
|
2008-02-08 10:22:08 +00:00
|
|
|
create_dir "$lone_dir"/test
|
|
|
|
copy_files \
|
|
|
|
test/compare_file.c \
|
2022-11-05 14:01:45 +00:00
|
|
|
test/merge_debian_isos \
|
|
|
|
test/merge_debian_isos.texi \
|
|
|
|
test/merge_debian_isos.info \
|
|
|
|
test/merge_debian_isos.1 \
|
2012-09-09 18:18:11 +00:00
|
|
|
"$lone_dir"/test
|
2008-02-08 10:22:08 +00:00
|
|
|
|
2012-12-27 09:53:59 +00:00
|
|
|
create_dir "$lone_dir"/frontend
|
|
|
|
copy_files \
|
|
|
|
frontend/frontend_pipes_xorriso.c \
|
|
|
|
frontend/README-tcltk \
|
|
|
|
frontend/xorriso-tcltk \
|
2013-07-04 10:47:26 +00:00
|
|
|
frontend/sh_on_named_pipes.sh \
|
2015-11-22 09:50:10 +00:00
|
|
|
frontend/xorriso_broker.sh \
|
2015-12-27 20:20:38 +00:00
|
|
|
frontend/grub-mkrescue-sed.sh \
|
2012-12-27 09:53:59 +00:00
|
|
|
"$lone_dir"/frontend
|
|
|
|
|
2019-12-07 17:58:44 +00:00
|
|
|
create_dir "$lone_dir"/xorriso-dd-target
|
|
|
|
copy_files \
|
|
|
|
xorriso-dd-target/xorriso-dd-target \
|
|
|
|
xorriso-dd-target/xorriso-dd-target.texi \
|
|
|
|
xorriso-dd-target/xorriso-dd-target.info \
|
|
|
|
xorriso-dd-target/xorriso-dd-target.1 \
|
|
|
|
"$lone_dir"/xorriso-dd-target
|
|
|
|
|
2008-01-16 20:13:18 +00:00
|
|
|
|
2012-04-21 19:34:31 +00:00
|
|
|
# releng
|
|
|
|
|
|
|
|
copy_tree releng "$lone_dir"/releng
|
|
|
|
|
|
|
|
rm "$lone_dir"/releng/auto_cxx
|
2012-04-22 10:03:16 +00:00
|
|
|
rm -r "$lone_dir"/releng/releng_generated_data
|
|
|
|
create_dir "$lone_dir"/releng/releng_generated_data
|
2012-04-21 19:34:31 +00:00
|
|
|
|
|
|
|
|
2008-01-16 20:13:18 +00:00
|
|
|
# nglibisofs
|
|
|
|
|
|
|
|
create_dir "$lone_dir"/libisofs
|
2008-03-04 17:41:43 +00:00
|
|
|
create_dir "$lone_dir"/libisofs/filters
|
2008-01-16 20:13:18 +00:00
|
|
|
goto_dir "$current_dir"/nglibisofs-develop
|
2008-01-28 17:20:10 +00:00
|
|
|
copy_files libisofs/*.[ch] "$lone_dir"/libisofs
|
2008-03-04 17:41:43 +00:00
|
|
|
copy_files libisofs/filters/*.[ch] "$lone_dir"/libisofs/filters
|
2009-01-26 17:38:33 +00:00
|
|
|
copy_files doc/susp_aaip*.txt "$lone_dir"/doc
|
2009-04-11 12:51:39 +00:00
|
|
|
copy_files doc/zisofs_format.txt "$lone_dir"/doc
|
2020-10-29 08:36:47 +00:00
|
|
|
copy_files doc/zisofs2_format.txt "$lone_dir"/doc
|
2009-08-31 16:24:27 +00:00
|
|
|
copy_files doc/checksums.txt "$lone_dir"/doc
|
2010-10-15 12:16:12 +00:00
|
|
|
copy_files doc/boot_sectors.txt "$lone_dir"/doc
|
2008-02-15 21:19:24 +00:00
|
|
|
copy_files COPYRIGHT "$lone_dir"/libisofs
|
2010-02-14 15:14:30 +00:00
|
|
|
test -e CONTRIBUTORS && cat CONTRIBUTORS >>"$lone_dir"/CONTRIBUTORS
|
2008-01-16 20:13:18 +00:00
|
|
|
|
2008-01-26 14:01:19 +00:00
|
|
|
# To get a common version.h
|
|
|
|
cat version.h.in >> "$lone_dir"/version.h.in
|
|
|
|
|
2008-01-31 15:22:23 +00:00
|
|
|
|
2010-10-15 12:16:12 +00:00
|
|
|
# libjte
|
2008-01-24 20:16:52 +00:00
|
|
|
|
2010-10-15 12:16:12 +00:00
|
|
|
create_dir "$lone_dir"/libjte
|
|
|
|
goto_dir "$current_dir"/jte-develop
|
|
|
|
copy_files *.[ch] "$lone_dir"/libjte
|
|
|
|
copy_files COPYRIGHT "$lone_dir"/libjte
|
2011-08-29 17:27:51 +00:00
|
|
|
#
|
|
|
|
# Now using libisoburn/releng/jigdo-gen-md5-list because in jigit it is
|
|
|
|
# restricted to Linux and FreeBSD.
|
|
|
|
goto_dir "$current_dir"/libisoburn-develop/releng
|
|
|
|
copy_files jigdo-gen-md5-list jigdo-gen-md5-list.1 "$lone_dir"/libjte
|
2008-01-24 20:16:52 +00:00
|
|
|
|
2008-01-16 20:13:18 +00:00
|
|
|
|
|
|
|
# libburn
|
|
|
|
|
|
|
|
create_dir "$lone_dir"/libburn
|
|
|
|
goto_dir "$current_dir"/libburn-develop
|
|
|
|
copy_files libburn/*.[ch] "$lone_dir"/libburn
|
2008-02-15 21:19:24 +00:00
|
|
|
copy_files COPYRIGHT "$lone_dir"/libburn
|
2010-02-14 15:14:30 +00:00
|
|
|
cat CONTRIBUTORS >>"$lone_dir"/CONTRIBUTORS
|
2008-01-16 20:13:18 +00:00
|
|
|
|
2010-02-14 17:19:41 +00:00
|
|
|
# Delete a source module of yet unclear ancestry.
|
|
|
|
# The build process will avoid to use it.
|
|
|
|
rm "$lone_dir"/libburn/crc.c
|
|
|
|
|
2008-01-16 20:13:18 +00:00
|
|
|
|
2008-01-26 14:01:19 +00:00
|
|
|
# To get a common version.h
|
|
|
|
cat version.h.in >> "$lone_dir"/version.h.in
|
|
|
|
|
2010-02-14 15:14:30 +00:00
|
|
|
# Decision about legal situation
|
|
|
|
goto_dir "$current_dir"/libisoburn-develop
|
|
|
|
if test "$create_gnu_xorriso" = "yes"
|
|
|
|
then
|
|
|
|
copy_files xorriso/README_gnu_xorriso "$lone_dir"/README
|
|
|
|
copy_files xorriso/COPYRIGHT_gnu_xorriso "$lone_dir"/COPYRIGHT
|
|
|
|
copy_files xorriso/COPYING_gnu_xorriso "$lone_dir"/COPYING
|
|
|
|
copy_files xorriso/AUTHORS_gnu_xorriso "$lone_dir"/AUTHORS
|
|
|
|
|
2011-01-17 09:25:21 +00:00
|
|
|
# patch xorriso/xorriso.h to be GNU xorriso
|
2010-02-14 15:14:30 +00:00
|
|
|
sed -e's/define Xorriso_libburnia_xorrisO/define Xorriso_GNU_xorrisO/' \
|
|
|
|
-e's/This may be changed to Xorriso_GNU_xorrisO in order to c/C/' \
|
2010-05-16 11:32:00 +00:00
|
|
|
<xorriso/xorriso.h >"$lone_dir"/xorriso/xorriso.h
|
2010-02-14 15:14:30 +00:00
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
copy_files README "$lone_dir"/README
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
2008-01-19 09:09:11 +00:00
|
|
|
|
|
|
|
# tarball
|
|
|
|
|
|
|
|
if test "$with_bootstrap_tarball" = 1
|
|
|
|
then
|
|
|
|
|
2010-02-22 19:54:48 +00:00
|
|
|
tarball_dir="$current_dir"/xorriso-"$xorriso_rev""$xorriso_pl"
|
2008-01-19 09:09:11 +00:00
|
|
|
mv "$lone_dir" "$tarball_dir"
|
|
|
|
|
|
|
|
goto_dir "$tarball_dir"
|
|
|
|
|
|
|
|
./bootstrap
|
|
|
|
|
|
|
|
# Remove unneeded temporary data from ./bootstrap
|
|
|
|
rm -r ./autom4te.cache
|
|
|
|
|
|
|
|
# Repair non-portable shell code output of ./bootstrap
|
|
|
|
(
|
|
|
|
cd "$compile_dir" || exit 1
|
|
|
|
sed -e 's/^for ac_header in$/test -z 1 \&\& for ac_header in dummy/' \
|
|
|
|
< ./configure > ./configure-repaired
|
|
|
|
if test "$?" = 0
|
|
|
|
then
|
|
|
|
echo "$0: Empty 'for ac_header in' found in configure." >&2
|
|
|
|
fi
|
|
|
|
mv ./configure-repaired ./configure
|
|
|
|
chmod a+rx,go-w,u+w ./configure
|
|
|
|
)
|
|
|
|
|
2010-02-22 19:54:48 +00:00
|
|
|
if test "$create_gnu_xorriso" = "yes"
|
|
|
|
then
|
2010-02-28 17:01:05 +00:00
|
|
|
# ftp-upload@gnu.org rejects Makefile.in with a dangerous chmod on make dist
|
|
|
|
sed -e 's/-perm -777 -exec chmod a+rwx/-perm -755 -exec chmod u+rwx,go+rx/' \
|
2010-02-22 19:54:48 +00:00
|
|
|
< Makefile.in > new_Makefile.in
|
|
|
|
|
|
|
|
mv new_Makefile.in Makefile.in
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
2008-01-19 09:09:11 +00:00
|
|
|
cd "$current_dir"
|
|
|
|
tar czf ./xorriso-"$xorriso_rev""$xorriso_pl".tar.gz $(basename "$tarball_dir")
|
|
|
|
|
|
|
|
ls -l $(pwd)/xorriso-"$xorriso_rev""$xorriso_pl".tar.gz
|
|
|
|
|
|
|
|
mv "$tarball_dir" "$lone_dir"
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
2008-01-16 20:13:18 +00:00
|
|
|
echo "Done"
|
|
|
|
echo "HINT: Now build xorriso/xorriso by:"
|
2008-01-19 09:09:11 +00:00
|
|
|
echo " cd '$lone_dir' && ./configure && make"
|
2008-01-16 20:13:18 +00:00
|
|
|
echo
|