about summary refs log tree commit diff
path: root/Src/zsh.mdd
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-07-20 16:08:12 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-07-20 16:08:12 +0000
commite3c5dd2dd9abc3d9fe1fee4c4054c4c2a7f11395 (patch)
tree0088cf78f6694d0c7f7fe5c8380298936dac36d3 /Src/zsh.mdd
parenteb86b42f304ec29a885a047ef5c681ec2ab40d1d (diff)
downloadzsh-e3c5dd2dd9abc3d9fe1fee4c4054c4c2a7f11395.tar.gz
zsh-e3c5dd2dd9abc3d9fe1fee4c4054c4c2a7f11395.tar.xz
zsh-e3c5dd2dd9abc3d9fe1fee4c4054c4c2a7f11395.zip
21498: Add zsh/newuser module
Diffstat (limited to 'Src/zsh.mdd')
-rw-r--r--Src/zsh.mdd6
1 files changed, 6 insertions, 0 deletions
diff --git a/Src/zsh.mdd b/Src/zsh.mdd
index e4dae2a2d..3109e6b38 100644
--- a/Src/zsh.mdd
+++ b/Src/zsh.mdd
@@ -38,6 +38,12 @@ version.h: $(sdir_top)/Config/version.mk
 
 zshpaths.h: Makemod $(CONFIG_INCS)
 	@echo '#define MODULE_DIR "'$(MODDIR)'"' > zshpaths.h.tmp
+	@if test x$(sitescriptdir) != xno; then \
+	  echo '#define SITESCRIPT_DIR "'$(sitescriptdir)'"' >> zshpaths.h.tmp; \
+	fi
+	@if test x$(scriptdir) != xno; then \
+	  echo '#define SCRIPT_DIR "'$(scriptdir)'"' >> zshpaths.h.tmp; \
+	fi
 	@if test x$(sitefndir) != xno; then \
 	  echo '#define SITEFPATH_DIR "'$(sitefndir)'"' >> zshpaths.h.tmp; \
 	fi