From 29298167d154608ba57fc71408258a37730a4e8b Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Thu, 10 May 2012 16:00:01 +0100 Subject: Install library using libtool install rather than libtool cp --remove-destination because the latter is non-portable --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0dc7b8b..f745ef4 100644 --- a/Makefile +++ b/Makefile @@ -107,10 +107,9 @@ install-inc: termkey.h install -d $(DESTDIR)$(LIBDIR)/pkgconfig sed "s,@LIBDIR@,$(LIBDIR),;s,@INCDIR@,$(INCDIR)," $(DESTDIR)$(LIBDIR)/pkgconfig/termkey.pc -# rm the old binary first in case it's still in use install-lib: $(LIBRARY) install -d $(DESTDIR)$(LIBDIR) - $(LIBTOOL) --mode=install cp --remove-destination libtermkey.la $(DESTDIR)$(LIBDIR)/libtermkey.la + $(LIBTOOL) --mode=install install libtermkey.la $(DESTDIR)$(LIBDIR)/libtermkey.la install-man: install -d $(DESTDIR)$(MAN3DIR) -- cgit v1.2.3-70-g09d2