Installing softlinks xorrisofs and osirrox pointing to the xorriso binary

This commit is contained in:
2008-07-08 09:27:05 +00:00
parent 2b95f2a6ca
commit c142c16fa4
5 changed files with 28 additions and 9 deletions

View File

@ -16,9 +16,11 @@ libisoburn_libisoburn_la_SOURCES = \
libisoburn/isofs_wrap.c \
libisoburn/libisoburn.h \
version.h
libisoburn_libisoburn_la_LIBADD = \
-lisofs \
-lburn
-lburn
libinclude_HEADERS = \
libisoburn/libisoburn.h
@ -42,6 +44,14 @@ xorriso_xorriso_SOURCES = \
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
noinst_PROGRAMS = \
test/compare_file
@ -55,13 +65,6 @@ test_compare_file_CFLAGS =
test_compare_file_LDADD =
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
## ========================================================================= ##