From: Matt Turner Date: Wed, 17 Dec 2014 21:19:37 +0000 (-0800) Subject: mesa: Remove unnecessary -f from $(RM). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=18ebf9e251cac6a0f898f4b7e159382f3c96b2b7;p=mesa.git mesa: Remove unnecessary -f from $(RM). $(RM) includes -f. --- diff --git a/src/gallium/targets/dri/Makefile.am b/src/gallium/targets/dri/Makefile.am index da1d1ed0eb5..5df3a20a2a4 100644 --- a/src/gallium/targets/dri/Makefile.am +++ b/src/gallium/targets/dri/Makefile.am @@ -125,7 +125,7 @@ all-local: $(dri_LTLIBRARIES) clean-local: $(AM_V_GEN)link_dir=$(top_builddir)/$(LIB_DIR)/gallium; \ $(AM_V_GEN)for i in $(TARGET_DRIVERS); do \ - $(RM) -f $${link_dir}/$${i}_dri.so; \ + $(RM) $${link_dir}/$${i}_dri.so; \ done; endif @@ -136,9 +136,9 @@ install-data-hook: ln -f $(DESTDIR)$(dridir)/gallium_dri.so \ $(DESTDIR)$(dridir)/$${i}_dri.so; \ done; \ - $(RM) -f $(DESTDIR)$(dridir)/gallium_dri.* + $(RM) $(DESTDIR)$(dridir)/gallium_dri.* uninstall-hook: for i in $(TARGET_DRIVERS); do \ - $(RM) -f $(DESTDIR)$(dridir)/$${i}_dri.so; \ + $(RM) $(DESTDIR)$(dridir)/$${i}_dri.so; \ done; diff --git a/src/gallium/targets/vdpau/Makefile.am b/src/gallium/targets/vdpau/Makefile.am index 32b34011b13..2980cc310d9 100644 --- a/src/gallium/targets/vdpau/Makefile.am +++ b/src/gallium/targets/vdpau/Makefile.am @@ -118,7 +118,7 @@ install-data-hook: ln -sf $${l} \ $${dest_dir}/$${k}; \ done; \ - $(RM) -f $${dest_dir}/libvdpau_gallium.* + $(RM) $${dest_dir}/libvdpau_gallium.* uninstall-hook: for i in $(TARGET_DRIVERS); do \ diff --git a/src/gallium/targets/xvmc/Makefile.am b/src/gallium/targets/xvmc/Makefile.am index a7b3365e2f0..8aed96966b8 100644 --- a/src/gallium/targets/xvmc/Makefile.am +++ b/src/gallium/targets/xvmc/Makefile.am @@ -81,7 +81,7 @@ install-data-hook: ln -sf $${l} \ $${dest_dir}/$${k}; \ done; \ - $(RM) -f $${dest_dir}/libXvMCgallium.* + $(RM) $${dest_dir}/libXvMCgallium.* uninstall-hook: for i in $(TARGET_DRIVERS); do \ diff --git a/src/mesa/drivers/dri/Makefile.am b/src/mesa/drivers/dri/Makefile.am index 0c677a0eb18..fa1de103b56 100644 --- a/src/mesa/drivers/dri/Makefile.am +++ b/src/mesa/drivers/dri/Makefile.am @@ -81,7 +81,7 @@ all-local: mesa_dri_drivers.la clean-local: $(AM_V_GEN)$(RM) $(top_builddir)/$(LIB_DIR)/mesa_dri_drivers.so; $(AM_V_GEN)for i in $(MEGADRIVERS); do \ - $(RM) -f $(top_builddir)/$(LIB_DIR)/$$i; \ + $(RM) $(top_builddir)/$(LIB_DIR)/$$i; \ done; endif @@ -92,11 +92,11 @@ install-data-hook: ln -f $(DESTDIR)$(dridir)/mesa_dri_drivers.so \ $(DESTDIR)$(dridir)/$$i; \ done; - $(RM) -f $(DESTDIR)$(dridir)/mesa_dri_drivers.* + $(RM) $(DESTDIR)$(dridir)/mesa_dri_drivers.* uninstall-hook: for i in $(MEGADRIVERS); do \ - $(RM) -f $(DESTDIR)$(dridir)/$$i; \ + $(RM) $(DESTDIR)$(dridir)/$$i; \ done; endif