--- rubberband-1.8.2/Makefile.in.mk 2018-05-15 10:43:39.000000000 -0700 +++ rubberband-1.8.2/Makefile.in 2018-10-17 20:42:02.869414480 -0700 @@ -20,11 +20,11 @@ INSTALL_BINDIR := $(PREFIX)/bin INSTALL_INCDIR := $(PREFIX)/include/rubberband -INSTALL_LIBDIR := $(PREFIX)/lib -INSTALL_VAMPDIR := $(PREFIX)/lib/vamp -INSTALL_LADSPADIR := $(PREFIX)/lib/ladspa +INSTALL_LIBDIR := @libdir@ +INSTALL_VAMPDIR := $(INSTALL_LIBDIR)/vamp +INSTALL_LADSPADIR := $(INSTALL_LIBDIR)/ladspa INSTALL_LRDFDIR := $(PREFIX)/share/ladspa/rdf -INSTALL_PKGDIR := $(PREFIX)/lib/pkgconfig +INSTALL_PKGDIR := $(INSTALL_LIBDIR)/pkgconfig LIBNAME := librubberband JNINAME := librubberband-jni @@ -174,19 +174,17 @@ $(MKDIR) -p $(DESTDIR)$(INSTALL_LADSPADIR) $(MKDIR) -p $(DESTDIR)$(INSTALL_LRDFDIR) $(MKDIR) -p $(DESTDIR)$(INSTALL_PKGDIR) - cp $(PROGRAM_TARGET) $(DESTDIR)$(INSTALL_BINDIR) - cp $(PUBLIC_INCLUDES) $(DESTDIR)$(INSTALL_INCDIR) - cp $(STATIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR) + cp -p $(PROGRAM_TARGET) $(DESTDIR)$(INSTALL_BINDIR) + cp -p $(PUBLIC_INCLUDES) $(DESTDIR)$(INSTALL_INCDIR) + cp -p $(STATIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR) rm -f $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_ABI_VERSION) rm -f $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION) - rm -f $(DESTDIR)$(INSTALL_LIBDIR)/$(JNINAME)$(DYNAMIC_EXTENSION) - cp $(DYNAMIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION) + cp -p $(DYNAMIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION) ln -s $(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_ABI_VERSION) ln -s $(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION) - cp -f $(JNI_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)/$(JNINAME)$(DYNAMIC_EXTENSION) - cp $(VAMP_TARGET) $(DESTDIR)$(INSTALL_VAMPDIR) + cp -p $(VAMP_TARGET) $(DESTDIR)$(INSTALL_VAMPDIR) cp vamp/vamp-rubberband.cat $(DESTDIR)$(INSTALL_VAMPDIR) - cp $(LADSPA_TARGET) $(DESTDIR)$(INSTALL_LADSPADIR) + cp -p $(LADSPA_TARGET) $(DESTDIR)$(INSTALL_LADSPADIR) cp ladspa/ladspa-rubberband.cat $(DESTDIR)$(INSTALL_LADSPADIR) cp ladspa/ladspa-rubberband.rdf $(DESTDIR)$(INSTALL_LRDFDIR) sed "s,%PREFIX%,$(PREFIX)," rubberband.pc.in \