Installing softlinks xorrisofs and osirrox pointing to the xorriso binary

This commit is contained in:
Thomas Schmitt 2008-07-08 09:27:05 +00:00
parent 4ea0e15acb
commit d42e7b2d9f
5 changed files with 28 additions and 9 deletions

View File

@ -16,9 +16,11 @@ libisoburn_libisoburn_la_SOURCES = \
libisoburn/isofs_wrap.c \ libisoburn/isofs_wrap.c \
libisoburn/libisoburn.h \ libisoburn/libisoburn.h \
version.h version.h
libisoburn_libisoburn_la_LIBADD = \ libisoburn_libisoburn_la_LIBADD = \
-lisofs \ -lisofs \
-lburn -lburn
libinclude_HEADERS = \ libinclude_HEADERS = \
libisoburn/libisoburn.h libisoburn/libisoburn.h
@ -42,6 +44,14 @@ xorriso_xorriso_SOURCES = \
xorriso/xorriso_timestamp.h xorriso/xorriso_timestamp.h
# Install symbolic links to the xorriso binary
#
install-exec-hook:
if test -e $(bindir)/xorrisofs ; then rm $(bindir)/xorrisofs ; else echo ; fi
ln -s xorriso $(bindir)/xorrisofs
if test -e $(bindir)/osirrox ; then rm $(bindir)/osirrox ; else echo ; fi
ln -s xorriso $(bindir)/osirrox
## Build test applications ## Build test applications
noinst_PROGRAMS = \ noinst_PROGRAMS = \
test/compare_file test/compare_file
@ -55,13 +65,6 @@ test_compare_file_CFLAGS =
test_compare_file_LDADD = test_compare_file_LDADD =
test_compare_file_SOURCES = test/compare_file.c test_compare_file_SOURCES = test/compare_file.c
# ts A80110 - A80210 : we need as minimal demo something better than test.c
# test/test
# test_test_CPPFLAGS = -Ilibisofs -Ilibburn -Ilibisoburn
# test_test_LDADD = $(libisoburn_libisoburn_la_OBJECTS) $(THREAD_LIBS) -lburn -lisofs
# test_test_SOURCES = test/test.c
## ========================================================================= ## ## ========================================================================= ##

4
README
View File

@ -67,6 +67,10 @@ xorriso binary depending on libburn.so, libisofs.so, libisoburn.so.
After installation documentation is available via After installation documentation is available via
man xorriso man xorriso
Two alias links point to the xorriso binary:
xorrisofs starts xorriso with -as mkisofs emulation already enabled
osirrox starts with -osirrox image-to-disk copying already enabled
Drives and Disk File Objects Drives and Disk File Objects

View File

@ -69,6 +69,10 @@ It gets installed with "make install" but may also be placed manually in the
./man1 directory below one of the directories mentioned in environment ./man1 directory below one of the directories mentioned in environment
variable $MANPATH. variable $MANPATH.
The installation creates two alias links pointing to the xorriso binary:
xorrisofs starts xorriso with -as mkisofs emulation already enabled
osirrox starts with -osirrox image-to-disk copying already enabled
Drives and Disk File Objects Drives and Disk File Objects

View File

@ -151,6 +151,14 @@ test_compare_file_LDADD =
test_compare_file_SOURCES = test/compare_file.c test_compare_file_SOURCES = test/compare_file.c
# Install symbolic links to the xorriso binary
#
install-exec-hook:
if test -e $(bindir)/xorrisofs ; then rm $(bindir)/xorrisofs ; else echo ; fi
ln -s xorriso $(bindir)/xorrisofs
if test -e $(bindir)/osirrox ; then rm $(bindir)/osirrox ; else echo ; fi
ln -s xorriso $(bindir)/osirrox
## ========================================================================= ## ## ========================================================================= ##
# Indent source files # Indent source files

View File

@ -1 +1 @@
#define Xorriso_timestamP "2008.07.07.150337" #define Xorriso_timestamP "2008.07.08.092732"