From 03e230cc54103d18e9c8a18208c7d27805400a71 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Wed, 15 Dec 1999 21:29:55 +0000 Subject: manual:9047 --- Src/Makemod.in.in | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'Src/Makemod.in.in') diff --git a/Src/Makemod.in.in b/Src/Makemod.in.in index 6d6e6af05..050a0682e 100644 --- a/Src/Makemod.in.in +++ b/Src/Makemod.in.in @@ -128,7 +128,20 @@ install.modules: install.modules-here uninstall.modules: uninstall.modules-here install.bin-here uninstall.bin-here: -install.modules-here uninstall.modules-here: + +install.modules-here: + modules='$(MODULES)'; \ + if test -n "$$modules"; then $(sdir_top)/mkinstalldirs $(DESTDIR)$(MODDIR); fi; \ + for mod in $$modules; do \ + $(INSTALL_PROGRAM) $$mod $(DESTDIR)$(MODDIR)/$$mod; \ + done + +uninstall.modules-here: + modules='$(MODULES)'; for mod in $$modules; do \ + if test -f $(DESTDIR)$(MODDIR)/$$mod; then \ + rm -f $(DESTDIR)$(MODDIR)/$$mod; \ + else :; fi; \ + done # ========== DEPENDENCIES FOR CLEANUP ========== -- cgit 1.4.1