cosmetic manpage fixes for HEAD

Steve Langasek vorlon at netexpress.net
Thu Jul 18 13:53:05 GMT 2002


Hello,

With the recent announcement that the Samba Team is focusing all further
development efforts on 3.0, a push has begun to sort through the niggly
issues that need to be resolved in order to produce packages for Debian
that can be uploaded to the archive.  This first patch addresses an
issue I ran into while trying to install manpages:  all English-language
manpages ended up in /usr/share/man/lang/man{1,5,7,8} instead of the
expected /usr/share/man/man{1,5,7,8}.  The below patch against CVS HEAD
should cause the manpages to install in the correct directories, without
interfering with the ongoing i18n support.

Regards,
Steve Langasek
postmodern programmer

Index: script/installman.sh
===================================================================
RCS file: /cvsroot/samba/source/script/installman.sh,v
retrieving revision 1.11
diff -u -w -r1.11 installman.sh
--- script/installman.sh	25 Sep 2001 02:01:29 -0000	1.11
+++ script/installman.sh	18 Jul 2002 20:46:57 -0000
@@ -22,8 +22,8 @@
 	echo Installing \"$lang\" man pages in $MANDIR/lang/$lang
     fi
 
-    langdir=$MANDIR/lang/$lang
-    for d in $MANDIR $MANDIR/lang $langdir $langdir/man1 $langdir/man5 $langdir/man7 $langdir/man8; do
+    langdir=$MANDIR/$lang
+    for d in $MANDIR $langdir $langdir/man1 $langdir/man5 $langdir/man7 $langdir/man8; do
 	if [ ! -d $d ]; then
 	    mkdir $d
 	    if [ ! -d $d ]; then




More information about the samba-technical mailing list