diff options
Diffstat (limited to 'Src/Makemod.in.in')
-rw-r--r-- | Src/Makemod.in.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Src/Makemod.in.in b/Src/Makemod.in.in index f27a6bd57..a5c760eb4 100644 --- a/Src/Makemod.in.in +++ b/Src/Makemod.in.in @@ -119,8 +119,9 @@ uninstall.modules: uninstall.modules-here install.bin-here uninstall.bin-here: install.modules-here: - $(sdir_top)/mkinstalldirs $(MODDIR) - modules='$(MODULES)'; for mod in $$modules; do \ + modules='$(MODULES)'; \ + if test -n "$$modules"; then $(sdir_top)/mkinstalldirs $(MODDIR); fi; \ + for mod in $$modules; do \ $(INSTALL_PROGRAM) $$mod $(MODDIR)/$$mod; \ done |