Lines Matching +full:user +full:- +full:config
2 # Copyright (c) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
8 # User configuration
17 HTTP_GET_CMD="curl -O -L"
19 # No user configuration below this point-------------------------------------
22 DOCBOOK_XSL_TARBALL=docbook-xsl-$DOCBOOK_XSL_VERSION.tar.gz
23 DOCBOOK_XSL_URL=$SOURCEFORGE_DOWNLOAD/docbook-xsl/$DOCBOOK_XSL_VERSION/$DOCBOOK_XSL_TARBALL
24 if test -f $DOCBOOK_XSL_TARBALL; then
31 DOCBOOK_XSL_DIR="$PWD/docbook-xsl-$DOCBOOK_XSL_VERSION"
32 if test ! -d docbook-xsl-$DOCBOOK_XSL_VERSION; then
33 echo -n "Expanding DocBook XSLT Stylesheets into $DOCBOOK_XSL_DIR..."
34 gunzip -cd $DOCBOOK_XSL_TARBALL | tar xf -
39 DOCBOOK_DTD_ZIP=docbook-xml-$DOCBOOK_DTD_VERSION.zip
40 DOCBOOK_DTD_URL=http://www.oasis-open.org/docbook/xml/$DOCBOOK_DTD_VERSION/$DOCBOOK_DTD_ZIP
41 if test -f $DOCBOOK_DTD_ZIP; then
48 DOCBOOK_DTD_DIR="$PWD/docbook-dtd-$DOCBOOK_DTD_VERSION"
49 if test ! -d docbook-dtd-$DOCBOOK_DTD_VERSION; then
50 echo -n "Expanding DocBook XML DTD into $DOCBOOK_DTD_DIR... "
51 unzip -q $DOCBOOK_DTD_ZIP -d $DOCBOOK_DTD_DIR
59 if test -f $dir/xsltproc && test -x $dir/xsltproc; then
62 if test -f $dir/doxygen && test -x $dir/doxygen; then
65 if test -f $dir/java && test -x $dir/java; then
72 if test ! -f "$XSLTPROC" && test ! -x "$XSLTPROC"; then
83 # Just notify the user if we haven't found doxygen.
84 if test ! -f "$DOXYGEN" && test ! -x "$DOXYGEN"; then
96 # Just notify the user if we haven't found Java. Otherwise, go get FOP.
97 if test ! -f "$JAVA" && test ! -x "$JAVA"; then
105 FOP_TARBALL="fop-$FOP_VERSION-bin-jdk$FOP_JDK_VERSION.tar.gz"
107 FOP_DIR="$PWD/fop-$FOP_VERSION"
109 if test -f $FOP_TARBALL; then
116 if test ! -d $FOP_DIR; then
117 echo -n "Expanding FOP distribution into $FOP_DIR... ";
118 gunzip -cd $FOP_TARBALL | tar xf -
125 JAM_CONFIG_OUT="$HOME/user-config.jam"
126 if test -r "$HOME/user-config.jam"; then
127 JAM_CONFIG_IN="user-config-backup.jam"
128 cp $JAM_CONFIG_OUT user-config-backup.jam
130 echo -n "Updating Boost.Jam configuration in $JAM_CONFIG_OUT... "
132 elif test -r "$BOOST_ROOT/tools/build/user-config.jam"; then
133 JAM_CONFIG_IN="$BOOST_ROOT/tools/build/user-config.jam";
135 echo -n "Writing Boost.Jam configuration to $JAM_CONFIG_OUT... "
138 echo "Boost installation or copy user-config.jam into your home directory."
175 awk -f setup_boostbook.awk $JAM_CONFIG_IN > $JAM_CONFIG_OUT
176 rm -f setup_boostbook.awk