+ o Moved English listtexts and install all languages (Ansgar Burchardt)
o Added encoding headers for German listtexts (Ansgar Burchardt)
o Fixed missing exit()s in case of failed execl() calls (Ansgar Burchardt)
o Changed Message-ID headers to include FQDN (Ansgar Burchardt)
AUTOMAKE_OPTIONS = foreign dist-bzip2
EXTRA_DIST = include VERSION LICENSE UPGRADE src/log_error.c FAQ \
- TUNABLES README.access contrib man listtexts/cz listtexts/da \
- listtexts/de listtexts/es listtexts/fr listtexts/it listtexts/nl \
+ TUNABLES README.access contrib man \
README.exim4 README.sendmail README.security README.qmail
CLEANFILES = *~ mlmmj-*.tar.*
## Process this file with automake to produce Makefile.in
-dist_textlib_DATA = access bounce-probe listhelp listfaq moderation notifysub \
- notifysub-digest notifysub-nomail notifyunsub notifyunsub-digest \
- notifyunsub-nomail notintocc sub-confirm sub-confirm-digest \
- sub-confirm-nomail sub-deny-digest sub-deny-nomail sub-ok \
- sub-ok-digest sub-ok-nomail subonlypost unsub-confirm \
- unsub-confirm-digest unsub-confirm-nomail \
- unsub-ok unsub-ok-digest unsub-ok-nomail listsubs sub-subscribed \
- unsub-notsubscribed digest submod-moderator submod-requester
+nobase_dist_textlib_DATA = ??/????*
fi
echo "$OWNER" > "$LISTDIR"/"control/owner"
-TEXTPATHDEF=@textlibdir@
-echo -n "The path to texts for the list? [$TEXTPATHDEF] : "
-read TEXTPATHIN
-if [ -z "$TEXTPATHIN" ] ; then
- TEXTPATH=$TEXTPATHDEF
-else
- TEXTPATH=$TEXTPATHIN
-fi
-if [ ! -d "$TEXTPATH" ]; then
+(
+ cd "@textlibdir@"
echo
- echo "**NOTE** Could not copy the texts for the list"
- echo "Please manually copy the files from the listtexts/ directory"
- echo "in the source distribution of mlmmj."
- sleep 2
-else
- cp "$TEXTPATH"/* "$LISTDIR"/"text"
-fi
+ echo "For the list texts you can choose between the following languages or"
+ echo "give a absolute path to a directory containing the texts."
+ echo
+ echo "Available languages:"
+ ls
+
+ TEXTPATHDEF=en
+ echo -n "The path to texts for the list? [$TEXTPATHDEF] : "
+ read TEXTPATHIN
+ if [ -z "$TEXTPATHIN" ] ; then
+ TEXTPATH="$TEXTPATHDEF"
+ else
+ TEXTPATH="$TEXTPATHIN"
+ fi
+ if [ ! -d "$TEXTPATH" ]; then
+ echo
+ echo "**NOTE** Could not copy the texts for the list"
+ echo "Please manually copy the files from the listtexts/ directory"
+ echo "in the source distribution of mlmmj."
+ sleep 2
+ else
+ cp "$TEXTPATH"/* "$LISTDIR"/"text"
+ fi
+)
LISTADDRESS="$LISTNAME@$FQDN"
echo "$LISTADDRESS" > "$LISTDIR"/control/"listaddress"