You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
2.8 KiB
57 lines
2.8 KiB
# HG changeset patch
|
|
# User 'Michel Alexandre Salim <salimma@fedoraproject.org>'
|
|
# Date 1605660530 28800
|
|
# Tue Nov 17 16:48:50 2020 -0800
|
|
# Node ID 9df2a19b93a3c4076f2c87cae5022d2b6ae6580e
|
|
# Parent 8f1295fa2ed4178ef84812b9909d2fc90cfa5bff
|
|
Preserve permissions when installing files
|
|
|
|
Use `cp -p` rather than `cp`
|
|
|
|
diff -r 8f1295fa2ed4 -r 9df2a19b93a3 Makefile.in
|
|
--- a/Makefile.in Thu Oct 08 11:20:52 2020 +0100
|
|
+++ b/Makefile.in Tue Nov 17 16:48:50 2020 -0800
|
|
@@ -186,32 +186,32 @@
|
|
$(MKDIR) -p $(DESTDIR)$(INSTALL_INCDIR)
|
|
$(MKDIR) -p $(DESTDIR)$(INSTALL_LIBDIR)
|
|
$(MKDIR) -p $(DESTDIR)$(INSTALL_PKGDIR)
|
|
- cp $(PUBLIC_INCLUDES) $(DESTDIR)$(INSTALL_INCDIR)
|
|
- cp $(STATIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)
|
|
+ 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)
|
|
- test -f $(JNI_TARGET) && cp -f $(JNI_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)/$(JNINAME)$(DYNAMIC_EXTENSION) || true
|
|
+ test -f $(JNI_TARGET) && cp -fp $(JNI_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)/$(JNINAME)$(DYNAMIC_EXTENSION) || true
|
|
sed "s,%PREFIX%,$(PREFIX)," rubberband.pc.in \
|
|
> $(DESTDIR)$(INSTALL_PKGDIR)/rubberband.pc
|
|
ifeq ($(WITH_PROGRAMS), yes)
|
|
$(MKDIR) -p $(DESTDIR)$(INSTALL_BINDIR)
|
|
- cp $(PROGRAM_TARGET) $(DESTDIR)$(INSTALL_BINDIR)
|
|
+ cp -p $(PROGRAM_TARGET) $(DESTDIR)$(INSTALL_BINDIR)
|
|
endif
|
|
ifeq ($(WITH_VAMP), yes)
|
|
$(MKDIR) -p $(DESTDIR)$(INSTALL_VAMPDIR)
|
|
- cp $(VAMP_TARGET) $(DESTDIR)$(INSTALL_VAMPDIR)
|
|
- cp vamp/vamp-rubberband.cat $(DESTDIR)$(INSTALL_VAMPDIR)
|
|
+ cp -p $(VAMP_TARGET) $(DESTDIR)$(INSTALL_VAMPDIR)
|
|
+ cp -p vamp/vamp-rubberband.cat $(DESTDIR)$(INSTALL_VAMPDIR)
|
|
endif
|
|
ifeq ($(WITH_LADSPA), yes)
|
|
$(MKDIR) -p $(DESTDIR)$(INSTALL_LADSPADIR)
|
|
$(MKDIR) -p $(DESTDIR)$(INSTALL_LRDFDIR)
|
|
- cp $(LADSPA_TARGET) $(DESTDIR)$(INSTALL_LADSPADIR)
|
|
- cp ladspa/ladspa-rubberband.cat $(DESTDIR)$(INSTALL_LADSPADIR)
|
|
- cp ladspa/ladspa-rubberband.rdf $(DESTDIR)$(INSTALL_LRDFDIR)
|
|
+ cp -p $(LADSPA_TARGET) $(DESTDIR)$(INSTALL_LADSPADIR)
|
|
+ cp -p ladspa/ladspa-rubberband.cat $(DESTDIR)$(INSTALL_LADSPADIR)
|
|
+ cp -p ladspa/ladspa-rubberband.rdf $(DESTDIR)$(INSTALL_LRDFDIR)
|
|
endif
|
|
|
|
clean:
|