bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gawk] [PATCH] Use DESTDIR when removing .la files


From: Lars Wendler
Subject: [bug-gawk] [PATCH] Use DESTDIR when removing .la files
Date: Thu, 10 Apr 2014 10:41:19 +0200

Signed-off-by: Lars Wendler <address@hidden>
---
 extension/Makefile.am | 2 +-
 extension/Makefile.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/extension/Makefile.am b/extension/Makefile.am
index 9c49bb8..11826e2 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 040cdb8..d81b169 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:
-- 
1.9.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]