diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2014-04-11 07:42:16 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2014-04-11 07:42:16 +0300 |
commit | 976f73ab03569bb836aa5c949be1c1cc973b2d2e (patch) | |
tree | d661cdaead3f8c16c05c9a9663037c181fc74f70 | |
parent | e28178f891964d8ec2209379ac615102519a6e06 (diff) | |
download | egawk-976f73ab03569bb836aa5c949be1c1cc973b2d2e.tar.gz egawk-976f73ab03569bb836aa5c949be1c1cc973b2d2e.tar.bz2 egawk-976f73ab03569bb836aa5c949be1c1cc973b2d2e.zip |
Use $(DESTDIR) in extension/Makefile.am when removing .la files.
-rw-r--r-- | extension/ChangeLog | 6 | ||||
-rw-r--r-- | extension/Makefile.am | 2 | ||||
-rw-r--r-- | extension/Makefile.in | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/extension/ChangeLog b/extension/ChangeLog index afd64ff7..f3a1c7a8 100644 --- a/extension/ChangeLog +++ b/extension/ChangeLog @@ -1,3 +1,9 @@ +2014-04-11 Arnold D. Robbins <arnold@skeeve.com> + + * Makefile.am (install-data-hook): Use $(DESTDIR) when removing + the .la files. Thanks to Lars Wendler <polynomial-c@gentoo.org> + for the report and fix. + 2014-04-08 Arnold D. Robbins <arnold@skeeve.com> * 4.1.1: Release tar ball made. diff --git a/extension/Makefile.am b/extension/Makefile.am index 9c49bb81..11826e2b 100644 --- a/extension/Makefile.am +++ b/extension/Makefile.am @@ -100,7 +100,7 @@ testext_la_LIBADD = $(MY_LIBS) install-data-hook: for i in $(pkgextension_LTLIBRARIES) ; do \ - $(RM) $(pkgextensiondir)/$$i ; \ + $(RM) $(DESTDIR)$(pkgextensiondir)/$$i ; \ done # Keep the uninstall check working: diff --git a/extension/Makefile.in b/extension/Makefile.in index 040cdb8f..d81b1696 100644 --- a/extension/Makefile.in +++ b/extension/Makefile.in @@ -1231,7 +1231,7 @@ uninstall-man: uninstall-man3 install-data-hook: for i in $(pkgextension_LTLIBRARIES) ; do \ - $(RM) $(pkgextensiondir)/$$i ; \ + $(RM) $(DESTDIR)$(pkgextensiondir)/$$i ; \ done # Keep the uninstall check working: |