diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2012-05-10 16:00:01 +0100 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2012-05-10 16:00:01 +0100 |
commit | 29298167d154608ba57fc71408258a37730a4e8b (patch) | |
tree | 8d6343e70c4d94ef140d2381c37cbbbf2f6d8218 /Makefile | |
parent | 1c816b753d994ec43c44181bc1df586ee3d73112 (diff) | |
download | termo-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-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) |