From 1be1a93e63a7ff6b45c7c20908df8bfd2a86c1be Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Tue, 12 Aug 2014 06:24:01 +0300 Subject: Use rm -f instead of $(RM) in Makefile.am files. --- extension/ChangeLog | 7 +++++++ extension/Makefile.am | 4 ++-- extension/Makefile.in | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) (limited to 'extension') diff --git a/extension/ChangeLog b/extension/ChangeLog index ab3d62c0..295e72cc 100644 --- a/extension/ChangeLog +++ b/extension/ChangeLog @@ -1,3 +1,10 @@ +2014-08-12 Arnold D. Robbins + + * Makefile.am (install-data-hook): Replace use of $(RM) by rm -f; + not all versions of make set that variable. Thanks to Jeremie + Courreges-Anglas for the report. + (uninstall-so): Ditto. + 2014-06-13 Paul Gortmaker * Makefile.am (uninstall-so): Came across below bug while cross diff --git a/extension/Makefile.am b/extension/Makefile.am index b6beaee3..b6c969ba 100644 --- a/extension/Makefile.am +++ b/extension/Makefile.am @@ -100,12 +100,12 @@ testext_la_LIBADD = $(MY_LIBS) install-data-hook: for i in $(pkgextension_LTLIBRARIES) ; do \ - $(RM) $(DESTDIR)$(pkgextensiondir)/$$i ; \ + rm -f $(DESTDIR)$(pkgextensiondir)/$$i ; \ done # Keep the uninstall check working: uninstall-so: - $(RM) $(DESTDIR)$(pkgextensiondir)/*.so + rm -f $(DESTDIR)$(pkgextensiondir)/*.so uninstall-recursive: uninstall-so diff --git a/extension/Makefile.in b/extension/Makefile.in index 294e4f88..692998bf 100644 --- a/extension/Makefile.in +++ b/extension/Makefile.in @@ -1231,12 +1231,12 @@ uninstall-man: uninstall-man3 install-data-hook: for i in $(pkgextension_LTLIBRARIES) ; do \ - $(RM) $(DESTDIR)$(pkgextensiondir)/$$i ; \ + rm -f $(DESTDIR)$(pkgextensiondir)/$$i ; \ done # Keep the uninstall check working: uninstall-so: - $(RM) $(DESTDIR)$(pkgextensiondir)/*.so + rm -f $(DESTDIR)$(pkgextensiondir)/*.so uninstall-recursive: uninstall-so -- cgit v1.2.3