view make/make.sh @ 112:7da9bd82122c

Remove --long option, always do full documentation generation instead.
author Rob Landley <rob@landley.net>
date Mon, 02 May 2011 14:19:11 -0500
parents 01b77829d010
children
line wrap: on
line source

#!/bin/bash

# Set environment variables and call do-*.sh in sequence

[ -z "$WEBDIR" ] && export WEBDIR=~/www/kdocs
[ -z "$LNXDIR" ] && export LNXDIR=~/linux/linux

source "$WEBDIR"/make/functions.sh

# Update mercurial repository
#if [ "$1" != "--nonet" ]
#then
#  echo "Update Linux source from mercurial on kernel.org"
#  get_git || exit 1
#else
#  shift
#fi

echo "Set up Linux build directory"
setuplinuxtemp || exit 1

echo "Install and index Documentation directory."
update_documentation_dir || exit 1

#echo "Update master index."
#update_master || exit 1

echo "Mirror resources"
mirror_files || exit 1

echo Copy readme files from Linux kernel
find_readmes || exit 1

echo Convert kconfig to html for all architectures
htmlize_menuconfig || exit 1

echo Make htmldocs
make_htmldocs

echo Build nochunks htmldocs.
make_htmlnochunks || exit 1

echo Search for references to RFC documents
findrfc || exit 1

# Install the htmldocs
install_htmldocs || exit 1

echo "Done with kdocs"