summaryrefslogtreecommitdiff
path: root/plugins/main.mk.in
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
commit9510d867ff9a59fc203d79716e86c9f14e1b95f0 (patch)
treeb88bedc38f788e8755bcb7b93d5982a4ea0863ea /plugins/main.mk.in
parente45d06ca41498531b846c78b0ab560252d59dc19 (diff)
builds, cleans, installs, and uninstalls correctly! Now just to
make sure it works!
Diffstat (limited to 'plugins/main.mk.in')
-rw-r--r--plugins/main.mk.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/main.mk.in b/plugins/main.mk.in
index 01ec205..677ffe6 100644
--- a/plugins/main.mk.in
+++ b/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