Permalink
Browse files

Build the language-specific ezmlmrc files into the lang directories.

  • Loading branch information...
1 parent 07a666e commit 5646aa62973f3b0fd9369b5f8d1d831edef90bef @bruceg committed Sep 30, 2005
Showing with 7 additions and 9 deletions.
  1. +4 −3 default.do
  2. +2 −2 ezmlmrc.all.do
  3. +1 −2 it.do
  4. +0 −2 setup.do
View
@@ -79,9 +79,10 @@ case "$1" in
formake 'sub=`head -n 1 conf-sub` ; ln sub_$$sub/'$1 $1
formake "touch $1"
;;
- ezmlmrc.?? | ezmlmrc.??_??)
- lang=${1#ezmlmrc.}
- dependon makelang VERSION ezmlmrc.template lang/$lang.add lang/$lang.sed
+ lang/*/ezmlmrc)
+ lang=${1#lang/}
+ lang=${lang%/ezmlmrc}
+ dependon makelang VERSION ezmlmrc.template lang/$lang/sed
formake "./makelang $lang"
;;
*)
View
@@ -1,3 +1,3 @@
-ls -1 text | while read lang; do
- dependon ezmlmrc.$lang
+ls -1 lang | while read lang; do
+ dependon lang/${lang}/ezmlmrc
done
View
@@ -30,5 +30,4 @@ ezmlm-unsub \
ezmlm-warn \
ezmlm-weed \
ezmlm-test \
-ezmlmrc.all \
-ezmlmrc
+ezmlmrc.all
View
@@ -4,5 +4,3 @@ formake './install "`head -n 1 conf-etc`" < ETC'
formake './install "`head -n 1 conf-man`" < MAN'
formake 'rm -f "`head -n 1 conf-etc`"/default'
formake 'ln -sf "`head -n 1 conf-lang`" "`head -n 1 conf-etc`"/default'
-formake 'rm -f "`head -n 1 conf-etc`"/ezmlmrc'
-formake 'ln -sf ezmlmrc."`head -n 1 conf-lang`" "`head -n 1 conf-etc`"/ezmlmrc'

0 comments on commit 5646aa6

Please sign in to comment.