From 85d82e9053e3b688315bd3b7386f3000ab8e8b6e Mon Sep 17 00:00:00 2001 From: Fabien LETORT Date: Thu, 18 Jun 2015 01:00:14 +0200 Subject: [PATCH] Makefile: avoid non portable -D option on install; should fix #6 --- src/Makefile.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Makefile.in b/src/Makefile.in index 25e8434..810eb46 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -58,9 +58,11 @@ py-install: py-uninstall: install: py$(BUILD)-install - install -D -m644 lib$(TARGET).so $(DESTDIR)/$(LIBDIR)/lib$(TARGET).so - install -D -m644 lib$(TARGET).a $(DESTDIR)/$(LIBDIR)/lib$(TARGET).a - install -D -m644 $(TARGET).h $(DESTDIR)/$(INCDIR)/$(TARGET).h + install -d $(DESTDIR)/$(LIBDIR) + install -m644 lib$(TARGET).so $(DESTDIR)/$(LIBDIR)/lib$(TARGET).so + install -m644 lib$(TARGET).a $(DESTDIR)/$(LIBDIR)/lib$(TARGET).a + install -d $(DESTDIR)/$(INCDIR) + install -m644 $(TARGET).h $(DESTDIR)/$(INCDIR)/$(TARGET).h uninstall: py$(BUILD)-uninstall rm -f $(DESTDIR)/$(LIBDIR)/lib$(TARGET).so \