From 2056892f23141355876f99bd72139230e44de805 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 16 Jun 2015 18:21:11 +0000 Subject: [PATCH] scstadmin/Makefile: Take $(DESTDIR) into account git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6326 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scstadmin/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scstadmin/Makefile b/scstadmin/Makefile index c6791f5cf..72bb5b831 100644 --- a/scstadmin/Makefile +++ b/scstadmin/Makefile @@ -85,7 +85,7 @@ install install_vendor: done # Remove the files that are obsolete since SCST-SCST has been # renamed into SCST_SCST. - rm -rf "$$(/usr/bin/perl -V:sitearch | sed "s|.*='||;s|'.*||")/auto/SCST-SCST" + rm -rf "$(DESTDIR)$$(/usr/bin/perl -V:sitearch | sed "s|.*='||;s|'.*||")/auto/SCST-SCST" # Install the files that have just been built. install -d $(DESTDIR)$(INITDIR) tmp=/tmp/scst-initd-$$$$ && init.d/scst >$$tmp && \