summaryrefslogtreecommitdiff
path: root/rvs/main.mk.in
diff options
context:
space:
mode:
authorLuke Shumaker <luke@HP-dv6426us-u904.(none)>2009-11-23 21:14:21 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-26 00:30:18 -0600
commita21c95f5e5b9b45f440813801ed413825300aa2b (patch)
treeea89bd09f2b069bbea29f236b072ac8c7099011b /rvs/main.mk.in
parent419801528066ea61546cde30c9f9f7f953e823b5 (diff)
I'm really not sure, these are uncommited changes, and I haven't touched it in a while.
Diffstat (limited to 'rvs/main.mk.in')
-rw-r--r--rvs/main.mk.in18
1 files changed, 7 insertions, 11 deletions
diff --git a/rvs/main.mk.in b/rvs/main.mk.in
index b311089..2d55793 100644
--- a/rvs/main.mk.in
+++ b/rvs/main.mk.in
@@ -17,7 +17,8 @@ ver = 0.9
# along with this program; see the file COPYING.
# If not, see <http://www.gnu.org/licenses>.
-export rvs = $(name)
+rvs = $(name)
+dirs += $(libexecdir)/$(rvs)
# phony targets ######################################################
all : wrapper p-build
@@ -37,15 +38,15 @@ filelist = \
install : install-wrapper libexec p-install
# $(libexecdir)/rvs/*
-libexec : $(libexecdir)/$(rvs)/plugins
-$(libexecdir)/$(rvs)/plugins : $(libexecdir)/$(rvs)
- $(TOUCH) $@
+libexec : $(DESTDIR)$(libexecdir)/$(rvs)/plugins
+$(DESTDIR)$(libexecdir)/$(rvs)/plugins : $(DESTDIR)$(libexecdir)/$(rvs)
+ touch $@
# uninstall ##########################################################
uninstall :
- $(RM) $(bindir)/$(rvs)
- $(RM) -r $(libexecdir)/$(rvs)
+ $(RM) $(DESTDIR)$(bindir)/$(rvs)
+ $(RM) -r $(DESTDIR)$(libexecdir)/$(rvs)
# clean ##############################################################
@@ -70,8 +71,3 @@ $(RVS) : install-wrapper
p-% : plugins/Makefile ; $(MAKE) -C plugins $*
-# implicit rules #####################################################
-
-$(libexecdir)/$(rvs) :
- $(MKDIR) $@
-