1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r5915: Remove --with-manpages-languages= from configure (we only have them in one

lanuage, English, at the moment). Fixes #2261. If other languages
might are added in the future, this parameter will still not be needed.
This commit is contained in:
Jelmer Vernooij 2005-03-20 21:08:50 +00:00 committed by Gerald (Jerry) Carter
parent 9797b33f23
commit d41e790b4b
3 changed files with 3 additions and 29 deletions

View File

@ -92,8 +92,6 @@ LOCKDIR = @lockdir@
# the directory where pid files go
PIDDIR = @piddir@
# man pages language(s)
man_langs = "@manlangs@"
LIBSMBCLIENT=bin/libsmbclient.a @LIBSMBCLIENT_SHARED@
LIBSMBCLIENT_MAJOR=0
@ -1375,7 +1373,7 @@ revert:
@$(SHELL) $(srcdir)/script/revert.sh $(BINDIR) $(BIN_PROGS) $(SCRIPTS)
installman: installdirs
@$(SHELL) $(srcdir)/script/installman.sh $(DESTDIR)$(MANDIR) $(srcdir) $(man_langs) "@ROFF@"
@$(SHELL) $(srcdir)/script/installman.sh $(DESTDIR)$(MANDIR) $(srcdir) C "@ROFF@"
.PHONY: showlayout
@ -1397,7 +1395,7 @@ showlayout:
uninstall: uninstallman uninstallbin uninstallscripts uninstallmodules
uninstallman:
@$(SHELL) $(srcdir)/script/uninstallman.sh $(DESTDIR)$(MANDIR) $(srcdir) $(man_langs)
@$(SHELL) $(srcdir)/script/uninstallman.sh $(DESTDIR)$(MANDIR) $(srcdir) C
uninstallbin:
@$(SHELL) $(srcdir)/script/uninstallbin.sh $(INSTALLPERMS) $(DESTDIR)$(BASEDIR) $(DESTDIR)$(SBINDIR) $(DESTDIR)$(LIBDIR) $(DESTDIR)$(VARDIR) $(DESTDIR)$(SBIN_PROGS)

View File

@ -3628,30 +3628,6 @@ else
AC_MSG_RESULT(no$utmp_no_reason)
fi
#################################################
# choose native language(s) of man pages
AC_MSG_CHECKING(chosen man pages' language(s))
AC_ARG_WITH(manpages-langs,
[ --with-manpages-langs={en,ja,pl} Choose man pages' language(s). (en)],
[ case "$withval" in
yes|no)
AC_MSG_WARN(--with-manpages-langs called without argument - will use default)
manlangs="en"
;;
*)
manlangs="$withval"
;;
esac
AC_MSG_RESULT($manlangs)
manlangs=`echo $manlangs | sed "s/,/ /g"` # replacing commas with spaces to produce a list
AC_SUBST(manlangs)],
[manlangs="en"
AC_MSG_RESULT($manlangs)
AC_SUBST(manlangs)]
)
#################################################
# should we build libsmbclient?

View File

@ -15,7 +15,7 @@ fi
for lang in $langs; do
if [ "X$lang" = Xen ]; then
if [ "X$lang" = XC ]; then
echo Installing default man pages in $MANDIR/
lang=.
else