1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: Fix install target failure when --enable-shared isn't provided during configure
Author: Lior Kaplan <kaplan@debian.org>
--- a/Makefile.in
+++ b/Makefile.in
@@ -137,9 +137,9 @@
test -d $(DESTDIR)$(INCLUDEDIR) || mkdir -m 755 -p $(DESTDIR)$(INCLUDEDIR)
cp hspell.h linginfo.h $(DESTDIR)$(INCLUDEDIR)/
chmod 644 $(DESTDIR)$(INCLUDEDIR)/hspell.h $(DESTDIR)$(INCLUDEDIR)/linginfo.h
- test -f libhspell.so.0 && cp libhspell.so.0 $(DESTDIR)$(LIBDIR)/
- test -f libhspell.so.0 && chmod 755 $(DESTDIR)$(LIBDIR)/libhspell.so.0
- test -f libhspell.so.0 && ln -sf libhspell.so.0 $(DESTDIR)$(LIBDIR)/libhspell.so
+ test ! -f libhspell.so.0 || cp libhspell.so.0 $(DESTDIR)$(LIBDIR)/
+ test ! -f libhspell.so.0 || chmod 755 $(DESTDIR)$(LIBDIR)/libhspell.so.0
+ test ! -f libhspell.so.0 || ln -sf libhspell.so.0 $(DESTDIR)$(LIBDIR)/libhspell.so
################################################
|