aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-05-10 16:00:01 +0100
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-05-10 16:00:01 +0100
commit29298167d154608ba57fc71408258a37730a4e8b (patch)
tree8d6343e70c4d94ef140d2381c37cbbbf2f6d8218 /Makefile
parent1c816b753d994ec43c44181bc1df586ee3d73112 (diff)
downloadtermo-29298167d154608ba57fc71408258a37730a4e8b.tar.gz
termo-29298167d154608ba57fc71408258a37730a4e8b.tar.xz
termo-29298167d154608ba57fc71408258a37730a4e8b.zip
Install library using libtool install rather than libtool cp --remove-destination because the latter is non-portable
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
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)," <termkey.pc.in >$(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)