summaryrefslogtreecommitdiff
path: root/rvs/plugins
diff options
context:
space:
mode:
authorLuke Shumaker <luke@HP-dv6246us-u910.(none)>2010-03-28 22:58:16 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-26 00:30:19 -0600
commit3d7506dd73a5785b9f969fff2bea879454e4d709 (patch)
treeb9e6fcaea1331dba2a4b6ca1c8b9e98c27f9577e /rvs/plugins
parentc4ebb4d76b91c8e5e475c5b131306176fe909468 (diff)
builds, cleans, installs, and uninstalls correctly! Now just to
make sure it works!
Diffstat (limited to 'rvs/plugins')
-rw-r--r--rvs/plugins/main.mk.in3
-rw-r--r--rvs/plugins/plugin.mk.in5
-rw-r--r--rvs/plugins/users/info.mk.in1
3 files changed, 7 insertions, 2 deletions
diff --git a/rvs/plugins/main.mk.in b/rvs/plugins/main.mk.in
index 01ec205..677ffe6 100644
--- a/rvs/plugins/main.mk.in
+++ b/rvs/plugins/main.mk.in
@@ -27,6 +27,7 @@ dirs += $(sysconfdir) $(BINDIR) $(TMPDIR) $(LIBDIR) $(ETCDIR)
mods = $(patsubst ./%,%,$(shell find ./* -maxdepth 0 -type d))
mods-build = $(addprefix build-,$(mods))
mods-install = $(addprefix install-,$(mods))
+mods-uninstall = $(addprefix uninstall-,$(mods))
mods-clean = $(addprefix clean-,$(mods))
mods-distclean = $(addprefix distclean-,$(mods))
@@ -37,6 +38,7 @@ all : build
# $(mods-build) $(mods-install) $(mods-clean) $(mods-distclean)
build : $(mods-build)
install : $(mods-install)
+uninstall : $(mods-uninstall)
clean : $(mods-clean)
distclean : $(mods-distclean)
$(RM) Makefile *.mk
@@ -48,6 +50,7 @@ distclean : $(mods-distclean)
complete-% : %/ %/main.mk; :
build-% : %/ complete-% %/main.mk; $(MAKE) -C $<
install-% : %/ complete-% %/main.mk; $(MAKE) -C $< install
+uninstall-% : %/ complete-% %/main.mk; $(MAKE) -C $< uninstall
clean-% : %/ complete-% %/main.mk; -$(MAKE) -C $< clean
distclean-% : %/ complete-% %/main.mk; $(MAKE) -C $< distclean
diff --git a/rvs/plugins/plugin.mk.in b/rvs/plugins/plugin.mk.in
index 1f1995c..f8a42b4 100644
--- a/rvs/plugins/plugin.mk.in
+++ b/rvs/plugins/plugin.mk.in
@@ -66,8 +66,9 @@ $(outLib) : $(LIBDIR)/$(name)/% : lib/%
$(MKDIR) $(dir $@)
$(INSTALL_DATA) $< $@
-uninstall :
- $(RVS) uninstall $(name)
+uninstall : $(addprefix un,$(outBin))
+ $(RM) -r $(ETCDIR)/$(name)
+ $(RM) -r $(LIBDIR)/$(name)
# clean ############################################################
diff --git a/rvs/plugins/users/info.mk.in b/rvs/plugins/users/info.mk.in
index 8289128..094f2a5 100644
--- a/rvs/plugins/users/info.mk.in
+++ b/rvs/plugins/users/info.mk.in
@@ -1,2 +1,3 @@
name = users
ver = 0.9
+priority = 2