Don't generate symlinks for libsane.so/.a, the files are installed anyway. Fix

symlink creation when only static libraries are created.
DEVEL_2_0_BRANCH-1
Henning Geinitz 2002-11-20 22:11:52 +00:00
rodzic 4ea774818c
commit a56f5e2ae1
2 zmienionych plików z 7 dodań i 3 usunięć

Wyświetl plik

@ -1,3 +1,9 @@
2002-11-20 Henning Meier-Geinitz <henning@meier-geinitz.de>
* doc/Makefile.in: Don't generate symlinks for libsane.so/.a, the files
are installed anyway. Fix symlink creation when only static libraries
are created.
2002-11-20 Michael Herder <crapsite at gmx.net>
Added artec_eplus48u backend for the scanner Artec E+ 48U and

Wyświetl plik

@ -187,11 +187,9 @@ install:
@dllend=`../tools/libtool-get-dll-ext libsane-dll.la`; \
rm -f $(DESTDIR)$(libdir)/libsane.a $(DESTDIR)$(libdir)/libsane.$$dllend \
$(DESTDIR)$(libdir)/libsane.$$dllend.$(V_MAJOR)*; \
$(LN_S) sane/libsane-dll.a $(DESTDIR)$(libdir)/libsane.a; \
$(LN_S) sane/libsane-dll.$$dllend $(DESTDIR)$(libdir)/libsane.$$dllend ; \
cd $(DESTDIR)$(libsanedir) && for n in libsane-dll.$$dllend.$(V_MAJOR)*; do \
nn=`echo $$n | sed 's,^libsane-dll,libsane,'`; \
(cd ..; $(LN_S) sane/$$n $$nn); \
(cd ..; if test -f sane/$$n ; then $(LN_S) sane/$$n $$nn; fi; ); \
done || exit 1
$(LIBTOOL) $(MINST) $(INSTALL_PROGRAM) libsane.la \
$(DESTDIR)$(libdir)/libsane.la