diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-06-05 22:54:56 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-06-05 22:54:56 +0000 |
commit | ebf69a5ae66bb81b6be9ac24d290d9d5b44b9bd9 (patch) | |
tree | 9481857522ea94556559afcb697c30d1fc64c4a3 /docs/docbook/configure | |
parent | 1fcfcce09568c7e695ee650090bb0dc271b17f07 (diff) | |
download | samba-ebf69a5ae66bb81b6be9ac24d290d9d5b44b9bd9.tar.gz samba-ebf69a5ae66bb81b6be9ac24d290d9d5b44b9bd9.tar.bz2 samba-ebf69a5ae66bb81b6be9ac24d290d9d5b44b9bd9.zip |
Fix the building of the docs in all formats:
- legalnotice should be in <bookinfo> (Developer docs)
- Generate embedded PostScript versions of the PNG files in projdoc/imagefiles
- Use either the PNG or the EPS images, depending on the desired output format.
Check CUPS-printing.xml diff for details
(This used to be commit 9992d5452d96508dc5dedc146f62e28d03b53ecc)
Diffstat (limited to 'docs/docbook/configure')
-rwxr-xr-x | docs/docbook/configure | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/docs/docbook/configure b/docs/docbook/configure index d2f8c5b7e4..303ea97f57 100755 --- a/docs/docbook/configure +++ b/docs/docbook/configure @@ -704,6 +704,76 @@ else echo "$ac_t""no" 1>&6 fi +# Extract the first word of "pngtopnm", so it can be a program name with args. +set dummy pngtopnm; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:711: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_path_PNGTOPNM'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + case "$PNGTOPNM" in + /*) + ac_cv_path_PNGTOPNM="$PNGTOPNM" # Let the user override the test with a path. + ;; + ?:/*) + ac_cv_path_PNGTOPNM="$PNGTOPNM" # Let the user override the test with a dos path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_path_PNGTOPNM="$ac_dir/$ac_word" + break + fi + done + IFS="$ac_save_ifs" + ;; +esac +fi +PNGTOPNM="$ac_cv_path_PNGTOPNM" +if test -n "$PNGTOPNM"; then + echo "$ac_t""$PNGTOPNM" 1>&6 +else + echo "$ac_t""no" 1>&6 +fi + +# Extract the first word of "pnmtops", so it can be a program name with args. +set dummy pnmtops; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:746: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_path_PNMTOPS'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + case "$PNMTOPS" in + /*) + ac_cv_path_PNMTOPS="$PNMTOPS" # Let the user override the test with a path. + ;; + ?:/*) + ac_cv_path_PNMTOPS="$PNMTOPS" # Let the user override the test with a dos path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_path_PNMTOPS="$ac_dir/$ac_word" + break + fi + done + IFS="$ac_save_ifs" + ;; +esac +fi +PNMTOPS="$ac_cv_path_PNMTOPS" +if test -n "$PNMTOPS"; then + echo "$ac_t""$PNMTOPS" 1>&6 +else + echo "$ac_t""no" 1>&6 +fi + DOC_BUILD_DATE=`date '+%d-%m-%Y'` @@ -857,6 +927,8 @@ s%@PDFLATEX@%$PDFLATEX%g s%@XMLTO@%$XMLTO%g s%@LATEX@%$LATEX%g s%@DVIPS@%$DVIPS%g +s%@PNGTOPNM@%$PNGTOPNM%g +s%@PNMTOPS@%$PNMTOPS%g s%@DOC_BUILD_DATE@%$DOC_BUILD_DATE%g CEOF |