summaryrefslogtreecommitdiff
path: root/source3/script
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-11-11 21:11:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:24 -0500
commitf8cb37ab19cc9499c23a1e1f40427ed48b707870 (patch)
tree886c0e38cfefaf53ab9a977a20ca07ecd6789085 /source3/script
parente6296083c2da697c23544e053425cba63ffd527f (diff)
downloadsamba-f8cb37ab19cc9499c23a1e1f40427ed48b707870.tar.gz
samba-f8cb37ab19cc9499c23a1e1f40427ed48b707870.tar.bz2
samba-f8cb37ab19cc9499c23a1e1f40427ed48b707870.zip
r11685: reverting Lar's change to nistallman from r11224 since it breaks 'make installman' outside the source tree; will fix up after the rc1 release
(This used to be commit 61e7366e0f545e8ef1aad45a3ab3f6aac1ca6049)
Diffstat (limited to 'source3/script')
-rwxr-xr-xsource3/script/installman.sh17
1 files changed, 3 insertions, 14 deletions
diff --git a/source3/script/installman.sh b/source3/script/installman.sh
index e9b068a9f6..6278012635 100755
--- a/source3/script/installman.sh
+++ b/source3/script/installman.sh
@@ -18,10 +18,6 @@ if test ! -d $SRCDIR../docs/manpages; then
exit 0
fi
-# Get the configured feature set
-test -f config.log && \
- eval $( grep "^[[:alnum:]]*=.*" config.log)
-
for lang in $langs; do
if [ "X$lang" = XC ]; then
echo Installing default man pages in $MANDIR/
@@ -44,20 +40,13 @@ for lang in $langs; do
for sect in 1 5 7 8 ; do
for m in $langdir/man$sect ; do
for s in $SRCDIR../docs/manpages/$lang/*$sect; do
- MP_BASENAME=${s##*/}
-
- # Check if this man page if required by the configured feature set
- case "${MP_BASENAME}" in
- smbsh.1) test -z "${SMBWRAPPER}" && continue ;;
- *) ;;
- esac
-
- FNAME="$m/${MP_BASENAME}"
-
+ FNAME=$m/`basename $s`
+
# Test for writability. Involves
# blowing away existing files.
if (rm -f $FNAME && touch $FNAME); then
+ rm $FNAME
if [ "x$GROFF" = x ] ; then
cp $s $m # Copy raw nroff
else