diff options
Diffstat (limited to 'extension')
-rw-r--r-- | extension/ChangeLog | 7 | ||||
-rw-r--r-- | extension/Makefile.am | 7 | ||||
-rw-r--r-- | extension/Makefile.in | 7 |
3 files changed, 13 insertions, 8 deletions
diff --git a/extension/ChangeLog b/extension/ChangeLog index 295e72cc..f324bdeb 100644 --- a/extension/ChangeLog +++ b/extension/ChangeLog @@ -1,9 +1,8 @@ 2014-08-12 Arnold D. Robbins <arnold@skeeve.com> - * 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 <jca@wxcvbn.org> for the report. - (uninstall-so): Ditto. + * Makefile.am (RM): Define for makes that don't have it, + such as on OpenBSD. Thanks to Jeremie Courreges-Anglas + <jca@wxcvbn.org> for the report. 2014-06-13 Paul Gortmaker <paul.gortmaker@windriver.com> diff --git a/extension/Makefile.am b/extension/Makefile.am index b6c969ba..e6678c54 100644 --- a/extension/Makefile.am +++ b/extension/Makefile.am @@ -29,6 +29,9 @@ AM_CPPFLAGS = -I$(srcdir)/.. # correctly after changing configure.ac ACLOCAL_AMFLAGS = -I m4 +# For some make's, e.g. OpenBSD, that don't define this +RM = rm -f + # Note: rwarray does not currently compile. pkgextension_LTLIBRARIES = \ @@ -100,12 +103,12 @@ testext_la_LIBADD = $(MY_LIBS) install-data-hook: for i in $(pkgextension_LTLIBRARIES) ; do \ - rm -f $(DESTDIR)$(pkgextensiondir)/$$i ; \ + $(RM) $(DESTDIR)$(pkgextensiondir)/$$i ; \ done # Keep the uninstall check working: uninstall-so: - rm -f $(DESTDIR)$(pkgextensiondir)/*.so + $(RM) $(DESTDIR)$(pkgextensiondir)/*.so uninstall-recursive: uninstall-so diff --git a/extension/Makefile.in b/extension/Makefile.in index 692998bf..46168e4e 100644 --- a/extension/Makefile.in +++ b/extension/Makefile.in @@ -513,6 +513,9 @@ AM_CPPFLAGS = -I$(srcdir)/.. # correctly after changing configure.ac ACLOCAL_AMFLAGS = -I m4 +# For some make's, e.g. OpenBSD, that don't define this +RM = rm -f + # Note: rwarray does not currently compile. pkgextension_LTLIBRARIES = \ filefuncs.la \ @@ -1231,12 +1234,12 @@ uninstall-man: uninstall-man3 install-data-hook: for i in $(pkgextension_LTLIBRARIES) ; do \ - rm -f $(DESTDIR)$(pkgextensiondir)/$$i ; \ + $(RM) $(DESTDIR)$(pkgextensiondir)/$$i ; \ done # Keep the uninstall check working: uninstall-so: - rm -f $(DESTDIR)$(pkgextensiondir)/*.so + $(RM) $(DESTDIR)$(pkgextensiondir)/*.so uninstall-recursive: uninstall-so |