about summary refs log tree commit diff
path: root/Src/zsh.mdd
diff options
context:
space:
mode:
Diffstat (limited to 'Src/zsh.mdd')
-rw-r--r--Src/zsh.mdd3
1 files changed, 3 insertions, 0 deletions
diff --git a/Src/zsh.mdd b/Src/zsh.mdd
index 214f26681..bd9aabc2e 100644
--- a/Src/zsh.mdd
+++ b/Src/zsh.mdd
@@ -30,6 +30,9 @@ version.h: $(sdir_top)/Config/version.mk
 
 zshpaths.h: FORCE Makemod
 	@echo '#define MODULE_DIR "'$(MODDIR)'"' > zshpaths.h.tmp
+	@if test x$(fndir) != xno; then \
+	  echo '#define FUNCTION_DIR "'$(fndir)'"' >> zshpaths.h.tmp; \
+	fi
 	@if cmp -s zshpaths.h zshpaths.h.tmp; then \
 	    rm -f zshpaths.h.tmp; \
 	    echo "\`zshpaths.h' is up to date." ; \