about summary refs log tree commit diff
path: root/Src/zsh.mdd
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-12-16 14:26:16 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-12-16 14:26:16 +0000
commit02c0df21747e5795197510f15da73bd0c287e978 (patch)
treecb14653880f6e9aed25c179c7dbc301f287e9242 /Src/zsh.mdd
parent77d48c89e05417ef40abc917ec7e2713779f8951 (diff)
downloadzsh-02c0df21747e5795197510f15da73bd0c287e978.tar.gz
zsh-02c0df21747e5795197510f15da73bd0c287e978.tar.xz
zsh-02c0df21747e5795197510f15da73bd0c287e978.zip
manual/9083
Diffstat (limited to 'Src/zsh.mdd')
-rw-r--r--Src/zsh.mdd13
1 files changed, 6 insertions, 7 deletions
diff --git a/Src/zsh.mdd b/Src/zsh.mdd
index 61672611b..e93b6d00f 100644
--- a/Src/zsh.mdd
+++ b/Src/zsh.mdd
@@ -1,3 +1,5 @@
+name=zsh/main
+
 nozshdep=1
 alwayslink=1
 
@@ -61,18 +63,15 @@ zshxmods.h: modules-bltin xmods.conf
 	@( \
 	    binmods=`sed 's/^/ /;s/$$/ /' modules-bltin`; \
 	    for mod in `cat $(sdir_src)/xmods.conf`; do \
+		q_mod=`echo $$mod | sed 's,Q,Qq,g;s,_,Qu,g;s,/,Qs,g'`; \
 		case $$binmods in \
 		    *" $$mod "*) \
-			echo "#define    LINKED_XMOD_$$mod 1" ;; \
+			echo "#define    LINKED_XMOD_$$q_mod 1" ;; \
 		    *)  echo "#ifdef DYNAMIC"; \
-			echo "# define UNLINKED_XMOD_$$mod 1"; \
+			echo "# define UNLINKED_XMOD_$$q_mod 1"; \
 			echo "#endif" ;; \
 		esac; \
-	    done; \
-	    echo; \
-	    for mod in $$binmods; do \
-		echo "int boot_$$mod _((Module));"; \
-	    done; \
+	    done \
 	) > $@
 
 clean-here: clean.zsh