diff options
Diffstat (limited to 'rvs/main.mk.in')
-rw-r--r-- | rvs/main.mk.in | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/rvs/main.mk.in b/rvs/main.mk.in index b698651..e3a6c96 100644 --- a/rvs/main.mk.in +++ b/rvs/main.mk.in @@ -42,11 +42,17 @@ filelist = \ $(patsubst $(srcdir)/%,%,$(shell find $(srcdir)/*/* -type f)) # install ############################################################ -install : install-wrapper install-plugins -uninstall : uninstall-wrapper uninstall-plugins clean : clean-wrapper clean-plugins distclean : clean distclean-wrapper distclean-plugins $(RM) Makefile *.mk +install : install-wrapper install-plugins +uninstall : + $(MAKE) uninstall-plugins + $(MAKE) uninstall-wrapper + -rmdir $(BINDIR) + -rmdir $(ETCDIR) + -rmdir $(LIBDIR) + -rmdir $(sysconfdir) # wrapper ############################################################ @@ -63,11 +69,11 @@ $(RVS) : install-wrapper # plugins ############################################################ plugins : build-plugins -build-plugins : plugins/ plugins/Makefile ; $(MAKE) -C $< -uninstall-plugins : plugins/ plugins/Makefile ; $(MAKE) -C $< uninstall -clean-plugins : plugins/ plugins/Makefile ; $(MAKE) -C $< clean -distclean-plugins : plugins/ plugins/Makefile ; $(MAKE) -C $< distclean -dist-plugins : plugins/ plugins/Makefile ; $(MAKE) -C $< dist -install-plugins : plugins/ plugins/Makefile \ - plugins $(RVS) ; $(MAKE) -C $< install +build-plugins : plugins/ plugins/Makefile ; $(MAKE) -C $< +clean-plugins : plugins/ plugins/Makefile ; $(MAKE) -C $< clean +distclean-plugins : plugins/ plugins/Makefile ; $(MAKE) -C $< distclean +dist-plugins : plugins/ plugins/Makefile ; $(MAKE) -C $< dist +uninstall-plugins : plugins/ plugins/Makefile $(RVS) ; $(MAKE) -C $< uninstall +install-plugins : plugins/ plugins/Makefile $(RVS) \ + plugins ; $(MAKE) -C $< install |