diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-05-15 16:36:15 +0000 |
---|---|---|
committer | Gerald W. Carter <jerry@samba.org> | 2008-04-23 08:45:50 -0500 |
commit | e16f34e94302e06088c5279ae4b0dac875c30cd9 (patch) | |
tree | e6dbe312dd35d131c7ec73b788b13361bff72ec1 /docs/configure.in | |
parent | a1a6c5198a9f291ad2c774cdb0c8d9ced7c31cc7 (diff) | |
download | samba-e16f34e94302e06088c5279ae4b0dac875c30cd9.tar.gz samba-e16f34e94302e06088c5279ae4b0dac875c30cd9.tar.bz2 samba-e16f34e94302e06088c5279ae4b0dac875c30cd9.zip |
Allow specifying a directory with the samba sources
(This used to be commit 411a84c102eacd9865468304d3a19170e7daae35)
Diffstat (limited to 'docs/configure.in')
-rw-r--r-- | docs/configure.in | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/docs/configure.in b/docs/configure.in index 380cb5aeea..c47ca5d3ee 100644 --- a/docs/configure.in +++ b/docs/configure.in @@ -5,20 +5,24 @@ DUPLICATE_ULINKS="" DOCROP="0" +AC_ARG_WITH(samba-sources, +[ --with-samba-sources=DIR Specify path to Samba sources], +[ test "$withval" && SPECIFIED_SOURCEDIR="$withval" ]) + AC_ARG_ENABLE(crop, -[ --enable-crop Whether to use a crop template], +[ --enable-crop Whether to use a crop template], [ test "$withval" && DOCROP="1" ]) PAPERSIZE="a4paper" AC_ARG_WITH(papersize, -[ --with-papersize Specify papersize (a4paper,letter) ], +[ --with-papersize Specify papersize (a4paper,letter) ], [ test "$withval" && PAPERSIZE="$withval" ]) FONTSIZE="10.5" AC_ARG_WITH(fontsize, -[ --with-fontsize Specify the fontsize in points (default: 10.5) ], +[ --with-fontsize Specify the fontsize in points (default: 10.5) ], [ test "$withval" && FONTSIZE="$withval" ]) @@ -28,6 +32,7 @@ AC_SUBST(PAPERSIZE) AC_SUBST(DUPLICATE_ULINKS) AC_SUBST(FONTSIZE) AC_SUBST(DOCROP) +AC_SUBST(SAMBASOURCEDIR) DOCS_TARGET_REQUIRE_PROGRAM(XSLTPROC, xsltproc, ALL) DOCS_TARGET_REQUIRE_PROGRAM(RM, rm, ALL) @@ -42,12 +47,12 @@ DOCS_TARGET_REQUIRE_PROGRAM(DVIPS, dvips, PS) DOCS_TARGET_REQUIRE_PROGRAM(PLUCKERBUILD, plucker-build, PLUCKER) DOCS_TARGET_REQUIRE_PROGRAM(HTML2TEXT, html2text, TXT) DOCS_TARGET_REQUIRE_PROGRAM(PERL, perl, UNDOCUMENTED) +DOCS_TARGET_REQUIRE_DIR([$SPECIFIED_SOURCEDIR ..], [source/configure.in], SAMBASOURCEDIR, UNDOCUMENTED) AC_MSG_RESULT([]) AC_MSG_RESULT([Summary:]) AC_MSG_RESULT([--------------]) - DOCS_DEFINE_TARGET(ALL, [], [base requirements], []) DOCS_DEFINE_TARGET(LATEX, ALL, [LaTeX versions], [tex]) DOCS_DEFINE_TARGET(PDF, LATEX, [PDF versions], [pdf]) |