13. Build the XSL files using this command. This Makefile must also build the -ns version as well, because no other commands in the script do so.
```
- make distrib -C xsl XSLT="$DOCBOOK_SVN/buildtools/xslt -$ENGINE" \
+ make distrib -C xsl XSLT="$repo_dir/buildtools/xslt -$ENGINE" \
PDF_MAKER=$PDF_MAKER
```
14. echo some descriptive text to a file named header.txt.
```
make zip-ns -C xsl ZIPVER=$RELEASEVERSION TMP=$TMP \
- XSLT="$DOCBOOK_SVN/buildtools/xslt -$ENGINE" PDF_MAKER=$PDF_MAKER
+ XSLT="$repo_dir/buildtools/xslt -$ENGINE" PDF_MAKER=$PDF_MAKER
```
where `$RELEASEVERSION` is the value from the -v command line option.
16. Generate a list of changes to a LatestChanges file using this command:
# this file is a -*- makefile -*- snippet
# use it to configure DocBook Project builds
-CVSTOOLSROOT=$(DOCBOOK_SVN)/buildtools
-XSLROOT=$(DOCBOOK_SVN)/xsl
-DSSSLROOT=$(DOCBOOK_SVN)/dsssl
-WEBSITEROOT=$(DOCBOOK_SVN)/website
+CVSTOOLSROOT=$(repo_dir)/buildtools
+XSLROOT=$(repo_dir)/xsl
+DSSSLROOT=$(repo_dir)/dsssl
+WEBSITEROOT=$(repo_dir)/website
CVS2LOG=$(CVSTOOLSROOT)/cvs2log
FLATTEN=$(CVSTOOLSROOT)/flatten
MERGELOGS=$(CVSTOOLSROOT)/mergechangelogs
XSLTOPT=
XSLTPROC=
RUNTRANG=$(CVSTOOLSROOT)/runtrang
-CLDR_DIR=$(DOCBOOK_SVN)/contrib/cldr
-XMLFORMAT_DIR=$(DOCBOOK_SVN)/contrib/tools/xmlformat/xmlformat-1.03
+CLDR_DIR=$(repo_dir)/contrib/cldr
+XMLFORMAT_DIR=$(repo_dir)/contrib/tools/xmlformat/xmlformat-1.03
my $dir = ".";
$dir = $1 if $file =~ /^(.*)\/[^\/]+$/;
-if ($ENV{DOCBOOK_SVN}) {
- $dir = "$ENV{DOCBOOK_SVN}/xsl/params";
+if ($ENV{repo_dir}) {
+ $dir = "$ENV{repo_dir}/xsl/params";
}
my $entfile = $file;
clisp:
cvs -z3 -d:pserver:anonymous@clisp.cvs.sourceforge.net:/cvsroot/clisp co -P clisp
clisp/doc: clisp
- $(MAKE) -C clisp/doc STYLESHEETS_PATH=$(DOCBOOK_SVN)/xsl/
+ $(MAKE) -C clisp/doc STYLESHEETS_PATH=$(repo_dir)/xsl/
clean:
$(MAKE) -C clisp/doc clean
realclean:
param.file="$(XSL_PARAMS)"
mv NEWS.xml NEWS-4.xml
- $(XSLT) NEWS-4.xml $(DOCBOOK_SVN)/docbook/relaxng/tools/db4-upgrade.xsl $@
+ $(XSLT) NEWS-4.xml $(repo_dir)/docbook/relaxng/tools/db4-upgrade.xsl $@
rm NEWS-4.xml
NEWS.html: NEWS.xml
$(RELEASE_ANNOUNCE) "$(DISTRO_TITLE)" "$(RELVER)" .announcement-text $< "$(ANNOUNCE_RECIPIENTS)"
tag:
-ifeq (,$(shell svn status))
+ifeq (,$(shell git status --porcelain))
ifneq (,$(shell svn info $(REPOSITORY_ROOT)/tags/$(TAG)/$(DISTRO) 2>/dev/null))
$(SVN) $(SVN_OPTS) delete -m "deleting the $(DISTRO) $(ZIPVER) tag" \
$(REPOSITORY_ROOT)/tags/$(TAG)/$(DISTRO)
# $Id$
-include $(DOCBOOK_SVN)/buildtools/Makefile.incl
+include $(repo_dir)/buildtools/Makefile.incl
-RELEASE_ANNOUNCE=$(DOCBOOK_SVN)/releasetools/release-announce
+RELEASE_ANNOUNCE=$(repo_dir)/releasetools/release-announce
ANNOUNCE_RECIPIENTS=docbook-apps@lists.oasis-open.org
ANNOUNCE_CHANGES=RELEASE-NOTES-PARTIAL.txt
-FRESHMEAT_SUBMIT=$(DOCBOOK_SVN)/releasetools/freshmeat-submit
+FRESHMEAT_SUBMIT=$(repo_dir)/releasetools/freshmeat-submit
-CATALOGMANAGER=$(DOCBOOK_SVN)/releasetools/.CatalogManager.properties.example
-INSTALL_SH=$(DOCBOOK_SVN)/releasetools/install.sh
+CATALOGMANAGER=$(repo_dir)/releasetools/.CatalogManager.properties.example
+INSTALL_SH=$(repo_dir)/releasetools/install.sh
ifneq ($(shell uname -s | grep -i cygwin),)
ifeq ($(XSLTENGINE),saxon)
MAKECATALOG=../releasetools/make-catalog.xsl
else
-MAKECATALOG=$(DOCBOOK_SVN)/releasetools/make-catalog.xsl
+MAKECATALOG=$(repo_dir)/releasetools/make-catalog.xsl
endif
else
-MAKECATALOG=$(DOCBOOK_SVN)/releasetools/make-catalog.xsl
+MAKECATALOG=$(repo_dir)/releasetools/make-catalog.xsl
endif
ifneq ($(shell uname -s | grep -i cygwin),)
DOCBUILD_STYLESHEETS=../../xsl/tools/xsl/build
RELEASEDOC_STYLESHEETS=../xsl/tools/xsl/build
else
-DOCBUILD_STYLESHEETS=$(DOCBOOK_SVN)/xsl/tools/xsl/build
-RELEASEDOC_STYLESHEETS=$(DOCBOOK_SVN)/xsl/tools/xsl/build
+DOCBUILD_STYLESHEETS=$(repo_dir)/xsl/tools/xsl/build
+RELEASEDOC_STYLESHEETS=$(repo_dir)/xsl/tools/xsl/build
endif
else
-DOCBUILD_STYLESHEETS=$(DOCBOOK_SVN)/xsl/tools/xsl/build
-RELEASEDOC_STYLESHEETS=$(DOCBOOK_SVN)/xsl/tools/xsl/build
+DOCBUILD_STYLESHEETS=$(repo_dir)/xsl/tools/xsl/build
+RELEASEDOC_STYLESHEETS=$(repo_dir)/xsl/tools/xsl/build
endif
PARAMPROF=$(VPATH)/.param.profiled
# MARKUP_XSL is a modified version of Jeni Tennison's "Markup Utility"
ifneq ($(shell uname -s | grep -i cygwin),)
ifeq ($(XSLTENGINE),saxon)
-MARKUP_XSL=$(DOCBOOK_SVN)/releasetools/modified-markup.xsl
+MARKUP_XSL=$(repo_dir)/releasetools/modified-markup.xsl
else
MARKUP_XSL=../releasetools/modified-markup.xsl
endif
else
-MARKUP_XSL=$(DOCBOOK_SVN)/releasetools/modified-markup.xsl
+MARKUP_XSL=$(repo_dir)/releasetools/modified-markup.xsl
endif
# stylesheet used in taking XML output from "svn log" and using it
ifeq ($(XSLTENGINE),saxon)
SVNLOG2DOCBOOK=../releasetools/svnlog2docbook.xsl
else
-SVNLOG2DOCBOOK=$(DOCBOOK_SVN)/releasetools/svnlog2docbook.xsl
+SVNLOG2DOCBOOK=$(repo_dir)/releasetools/svnlog2docbook.xsl
endif
else
-SVNLOG2DOCBOOK=$(DOCBOOK_SVN)/releasetools/svnlog2docbook.xsl
+SVNLOG2DOCBOOK=$(repo_dir)/releasetools/svnlog2docbook.xsl
endif
SVN_INFO_FILE=.svninfo.xml
ifeq ($(XSLTENGINE),saxon)
EVALXPATH=../releasetools/eval-xpath.xsl
else
-EVALXPATH=$(DOCBOOK_SVN)/releasetools/eval-xpath.xsl
+EVALXPATH=$(repo_dir)/releasetools/eval-xpath.xsl
endif
else
-EVALXPATH=$(DOCBOOK_SVN)/releasetools/eval-xpath.xsl
+EVALXPATH=$(repo_dir)/releasetools/eval-xpath.xsl
endif
XMLLINT=xmllint
exit 1
fi
-# fail if no DOCBOOK_SVN set
-if [ -z "$DOCBOOK_SVN" ]; then
+export repo_dir=`dirname $(cd $(dirname $0); pwd)`
+# fail if no repo_dir set
+if [ -z "$repo_dir" ]; then
cat <<- EOF
-`basename $0`: error: DOCBOOK_SVN not set. Stopping.
+`basename $0`: error: repo_dir not set. Stopping.
-Before invoking `basename $0`, you must set the DOCBOOK_SVN
+Before invoking `basename $0`, you must set the repo_dir
environment variable in the environment from which the script
-runs. The value of DOCBOOK_SVN should be the absolute path to the
+runs. The value of repo_dir should be the absolute path to the
base of a DocBook Project Subversion working directory that
contains the various DocBook Project modules; that is, such that
-the modules can be found in \$DOCBOOK_SVN/xsl, etc.
+the modules can be found in \$repo_dir/xsl, etc.
EOF
exit 1
fi
Specifies the location of the base directory containing the
SVN working directories for modules from the DocBook project
(directory containing 'xsl', 'dsssl', 'slides', etc. subdirs)
- Default: value of the DOCBOOK_SVN environment variable, if
+ Default: value of the repo_dir environment variable, if
set; otherwise, the directory from which the script is run.
-d DOMAIN
cd $BUILDDIR
DISTROS="$@"
+if [ -z "$DISTROS" ]; then
+ DISTROS=xsl
+fi
if [ -z "$DISTROS" ]; then
echo
printf "$opts_admon"
exit 1;
else
- svn cleanup
- REVISION=$(svn update > /dev/null 2>&1 && svn info | grep "^Revision:" | sed -r 's/^Revision: (.+)$/\1/')
+ # We may want to use `git describe` here, once we use real tags...
+ REVISION=$(git rev-parse HEAD)
for DISTRO in $DISTROS; do
printf "Running svn update in gentext and $DISTRO working directories...\n" 1>&2
if test "$SVNCHECK" = "yes"; then
#fi
#rm -f $DISTRO/LatestTag
rm -f $DISTRO/VERSION
- svn update $DISTRO/VERSION 1>/dev/null 2>&1
+ git checkout $DISTRO/VERSION
printf "." 1>&2
echo
if test "$SVNCHECK" = "yes"; then
- make distrib -C $DISTRO XSLT="$DOCBOOK_SVN/buildtools/xslt -$ENGINE" PDF_MAKER=$PDF_MAKER
+ make distrib -C $DISTRO XSLT="$repo_dir/buildtools/xslt -$ENGINE" PDF_MAKER=$PDF_MAKER
else
- make release -C $DISTRO XSLT="$DOCBOOK_SVN/buildtools/xslt -$ENGINE" PDF_MAKER=$PDF_MAKER
+ make release -C $DISTRO XSLT="$repo_dir/buildtools/xslt -$ENGINE" PDF_MAKER=$PDF_MAKER
fi
cat <<- EOF > HEADER.txt
no guarantees. Any of them may in fact be broken at any given time.
EOF
- make $ZIPTARG -C $DISTRO ZIPVER=$RELEASEVERSION TMP=$TMP XSLT="$DOCBOOK_SVN/buildtools/xslt -$ENGINE" PDF_MAKER=$PDF_MAKER || exit 1
+ make $ZIPTARG -C $DISTRO ZIPVER=$RELEASEVERSION TMP=$TMP XSLT="$repo_dir/buildtools/xslt -$ENGINE" PDF_MAKER=$PDF_MAKER || exit 1
cat <<- EOF > $TMP/line.tmp
--------------------------------------------------------------------------------
EOF
- svn cleanup && svn update && svn log --verbose --limit 200 > LatestChanges
+ git log -n 200 > LatestChanges
cat HEADER.txt $TMP/line.tmp LatestChanges > README.txt
rm $TMP/line.tmp
EOF
# Run build-check and determine if it exits without any errors
- if $DOCBOOK_SVN/buildtools/build-check $LOGDIR/docbook-$DISTRO-$RELEASEVERSION.log.tmp
+ if $repo_dir/buildtools/build-check $LOGDIR/docbook-$DISTRO-$RELEASEVERSION.log.tmp
then
# build-check completed successfully, so prepare the
# buildbot message accordingly
echo "$DISTRO snapshot $REVISION appears to have been built successfully" >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
echo >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
# append the commit message for this revision
- /usr/bin/svn log -r$REVISION >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
+ git show --quiet $REVISION >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
echo >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
echo "For further details about the code changes in this revision, see:" >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
echo "http://docbook.svn.sf.net/docbook/?rev=$REVISION&view=rev" >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
echo "The $DISTRO snapshot build appears to be broken at r$REVISION or before." >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
# run buildcheck again and copy the output to the beginning
# of the buildbot message
- $DOCBOOK_SVN/buildtools/build-check $LOGDIR/docbook-$DISTRO-$RELEASEVERSION.log.tmp >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
+ $repo_dir/buildtools/build-check $LOGDIR/docbook-$DISTRO-$RELEASEVERSION.log.tmp >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
echo >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
# append the commit message for this revision
- /usr/bin/svn log -r$REVISION >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
+ git show --quiet $REVISION >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
echo >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
echo "For further details about the code changes in this revision, see:" >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
echo >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
$(RM) $(TMP)/docbook-$(DISTRO)-nons-$(ZIPVER).zip
(cd $(TMP) && \
unzip $(TMP)/docbook-$(DISTRO)-$(ZIPVER).zip && \
- $(DOCBOOK_SVN)/releasetools/xslnons-build \
+ $(repo_dir)/releasetools/xslnons-build \
docbook-$(DISTRO)-$(ZIPVER) \
docbook-$(DISTRO)-nons-$(ZIPVER));
# Run xslt on xsl/webhelp/docsrc/readme.xml
$(XSLT) \
$(TMP)/docbook-$(DISTRO)-$(ZIPVER)/webhelp/docsrc/readme.xml \
- $(DOCBOOK_SVN)/docbook/relaxng/tools/db4-upgrade.xsl \
+ $(repo_dir)/docbook/relaxng/tools/db4-upgrade.xsl \
$(TMP)/docbook-$(DISTRO)-nons-$(ZIPVER)/webhelp/docsrc/readme.xml
$(XSLT) \
$(TMP)/docbook-$(DISTRO)-$(ZIPVER)/webhelp/docsrc/xinclude-test.xml \
- $(DOCBOOK_SVN)/docbook/relaxng/tools/db4-upgrade.xsl \
+ $(repo_dir)/docbook/relaxng/tools/db4-upgrade.xsl \
$(TMP)/docbook-$(DISTRO)-nons-$(ZIPVER)/webhelp/docsrc/xinclude-test.xml
# Turn off validation in webhelp:
announce-nons: announce
$(RELEASE_ANNOUNCE) "XSL-NS Stylesheets" "$(RELVER)" \
- $(DOCBOOK_SVN)/releasetools/xslnsfiles/announcement-text \
+ $(repo_dir)/releasetools/xslnsfiles/announcement-text \
$(ANNOUNCE_CHANGES) \
"$(ANNOUNCE_RECIPIENTS)"
$(RM) $(TMP)/docbook-$(DISTRO)-ns-$(ZIPVER).zip
(cd $(TMP) && \
unzip $(TMP)/docbook-$(DISTRO)-$(ZIPVER).zip && \
- $(DOCBOOK_SVN)/releasetools/xslns-build \
+ $(repo_dir)/releasetools/xslns-build \
docbook-$(DISTRO)-$(ZIPVER) \
docbook-$(DISTRO)-ns-$(ZIPVER));
# Run xslt on xsl/webhelp/docsrc/readme.xml
$(XSLT) \
$(TMP)/docbook-$(DISTRO)-$(ZIPVER)/webhelp/docsrc/readme.xml \
- $(DOCBOOK_SVN)/docbook/relaxng/tools/db4-upgrade.xsl \
+ $(repo_dir)/docbook/relaxng/tools/db4-upgrade.xsl \
$(TMP)/docbook-$(DISTRO)-ns-$(ZIPVER)/webhelp/docsrc/readme.xml
$(XSLT) \
$(TMP)/docbook-$(DISTRO)-$(ZIPVER)/webhelp/docsrc/xinclude-test.xml \
- $(DOCBOOK_SVN)/docbook/relaxng/tools/db4-upgrade.xsl \
+ $(repo_dir)/docbook/relaxng/tools/db4-upgrade.xsl \
$(TMP)/docbook-$(DISTRO)-ns-$(ZIPVER)/webhelp/docsrc/xinclude-test.xml
# Turn off validation in webhelp:
announce-ns: announce
$(RELEASE_ANNOUNCE) "XSL-NS Stylesheets" "$(RELVER)" \
- $(DOCBOOK_SVN)/releasetools/xslnsfiles/announcement-text \
+ $(repo_dir)/releasetools/xslnsfiles/announcement-text \
$(ANNOUNCE_CHANGES) \
"$(ANNOUNCE_RECIPIENTS)"
: Makefile 9654 2012-10-28 22:54:32Z stefan $
-include $(DOCBOOK_SVN)/buildtools/Makefile.incl
-include $(DOCBOOK_SVN)/releasetools/Variables.mk
+include $(repo_dir)/buildtools/Makefile.incl
+include $(repo_dir)/releasetools/Variables.mk
# The -E0 switch on xjparse gets passed on to the XML Commons
# resolver and causes all error message from the resolver to be
$(MAKE) -C docsrc release-clean
include Makefile.tests
-include $(DOCBOOK_SVN)/releasetools/Targets.mk
-include $(DOCBOOK_SVN)/releasetools/xslns.mk
+include $(repo_dir)/releasetools/Targets.mk
+include $(repo_dir)/releasetools/xslns.mk
$(PARAMXMLID): $(PARAMSTRIP)
ifneq ($(XSLTENGINE),saxon)
- $(XSLT) $< $(DOCBOOK_SVN)/releasetools/w2docbook.xsl $@
+ $(XSLT) $< $(repo_dir)/releasetools/w2docbook.xsl $@
else
ifneq ($(shell uname -s | grep -i cygwin),)
$(XSLT) $< $(NESTLEVEL)../../releasetools/w2docbook.xsl $@.tmp
else
- $(XSLT) $< $(DOCBOOK_SVN)/releasetools/w2docbook.xsl $@.tmp
+ $(XSLT) $< $(repo_dir)/releasetools/w2docbook.xsl $@.tmp
endif
$(XSLT) $@.tmp $(ADDNEWLINE) $@
$(RM) $@.tmp
ifeq ($(XSLTENGINE),saxon)
$(NESTLEVEL)../../buildtools/paramchk -m Makefile.param $<
else
- $(DOCBOOK_SVN)/buildtools/paramchk -m Makefile.param $<
+ $(repo_dir)/buildtools/paramchk -m Makefile.param $<
endif
else
- $(DOCBOOK_SVN)/buildtools/paramchk -m Makefile.param $<
+ $(repo_dir)/buildtools/paramchk -m Makefile.param $<
endif
endif
$(XSLT) $< $(NESTLEVEL)../profiling/profile.xsl $(PARAMPROF) profile.condition=$(PROFILECONDITION)
ifeq ($(XSLTENGINE),saxon)
$(XSLT) $< $(NESTLEVEL)../../releasetools/xtangle.xsl $@
else
- $(XSLT) $< $(DOCBOOK_SVN)/releasetools/xtangle.xsl $@
+ $(XSLT) $< $(repo_dir)/releasetools/xtangle.xsl $@
endif
else
- $(XSLT) $< $(DOCBOOK_SVN)/releasetools/xtangle.xsl $@
+ $(XSLT) $< $(repo_dir)/releasetools/xtangle.xsl $@
endif
ifeq ($(XSLTENGINE),saxon)
$(NESTLEVEL)../../buildtools/paramchk -m $@ param.xweb
else
- $(DOCBOOK_SVN)/buildtools/paramchk -m $@ param.xweb
+ $(repo_dir)/buildtools/paramchk -m $@ param.xweb
endif
else
- $(DOCBOOK_SVN)/buildtools/paramchk -m $@ param.xweb
+ $(repo_dir)/buildtools/paramchk -m $@ param.xweb
endif
$(MAKE)
following in it:
# directory that is base directory for all your DocBook modules
- export DOCBOOK_SVN=/opt/sandbox/docbook/trunk
+ export repo_dir=/opt/sandbox/docbook/trunk
# directory containing all your jar files
export JARDIR=/usr/share/java
export CLASSPATH=$CLASSPATH:$JARDIR/xml-commons-resolver-1.1.jar
rm -f DOCBOOK-BUILD.LOG && \
. ~/docbk.sh && \
- $DOCBOOK_SVN/buildtools/build-clean && \
+ $repo_dir/buildtools/build-clean && \
make all 2>&1 \
XSLTENGINE=xsltproc \
| tee DOCBOOK-BUILD.LOG && \
- $DOCBOOK_SVN/buildtools/build-check DOCBOOK-BUILD.LOG
+ $repo_dir/buildtools/build-check DOCBOOK-BUILD.LOG
The preceding will cause the following:
make check 2>&1 \
XSLTENGINE=xsltproc \
| tee DOCBOOK-BUILD.LOG && \
- $DOCBOOK_SVN/buildtools/build-check DOCBOOK-BUILD.LOG
+ $repo_dir/buildtools/build-check DOCBOOK-BUILD.LOG
After running with "xsltproc", you should run it again with
"saxon":
make check 2>&1 \
XSLTENGINE=saxon \
| tee DOCBOOK-BUILD.LOG && \
- $DOCBOOK_SVN/buildtools/build-check DOCBOOK-BUILD.LOG
+ $repo_dir/buildtools/build-check DOCBOOK-BUILD.LOG
4. Fix any obvious problems.
If build-check and/or "make check" report any problems, fix
rm -f DOCBOOK-BUILD.LOG && \
. ~/docbk.sh && \
- $DOCBOOK_SVN/buildtools/build-clean && \
+ $repo_dir/buildtools/build-clean && \
make all 2>&1 \
XSLTENGINE=xsltproc \
| tee DOCBOOK-BUILD.LOG && \
- $DOCBOOK_SVN/buildtools/build-check DOCBOOK-BUILD.LOG && \
- $DOCBOOK_SVN/releasetools/catalog-install && \
+ $repo_dir/buildtools/build-check DOCBOOK-BUILD.LOG && \
+ $repo_dir/releasetools/catalog-install && \
make distrib 2>&1 \
XSLTENGINE=xsltproc \
PDF_MAKER=dblatex \
| tee DOCBOOK-BUILD.LOG && \
- $DOCBOOK_SVN/releasetools/catalog-install uninstall && \
- $DOCBOOK_SVN/buildtools/build-check DOCBOOK-BUILD.LOG
+ $repo_dir/releasetools/catalog-install uninstall && \
+ $repo_dir/buildtools/build-check DOCBOOK-BUILD.LOG
The above first runs a "make all" build, and if that succeeds
without any errors, then runs a "make distrib" build.
rm -f DOCBOOK-BUILD.LOG && \
. ~/docbk.sh && \
- $DOCBOOK_SVN/buildtools/build-clean && \
+ $repo_dir/buildtools/build-clean && \
make all 2>&1 \
XSLTENGINE=xsltproc \
| tee DOCBOOK-BUILD.LOG && \
- $DOCBOOK_SVN/buildtools/build-check DOCBOOK-BUILD.LOG && \
- $DOCBOOK_SVN/releasetools/catalog-install && \
+ $repo_dir/buildtools/build-check DOCBOOK-BUILD.LOG && \
+ $repo_dir/releasetools/catalog-install && \
make release 2>&1 \
XSLTENGINE=xsltproc \
PDF_MAKER=dblatex \
| tee DOCBOOK-BUILD.LOG && \
- $DOCBOOK_SVN/releasetools/catalog-install uninstall && \
- $DOCBOOK_SVN/buildtools/build-check DOCBOOK-BUILD.LOG; \
+ $repo_dir/releasetools/catalog-install uninstall && \
+ $repo_dir/buildtools/build-check DOCBOOK-BUILD.LOG; \
rm -f DOCBOOK-BUILD.LOG
In addition to the normal error-checking that build-check
<filename>extensions</filename> code
since the 1.73.2 release.</para>
<itemizedlist>
-<listitem> <para><literal>Keith Fahlgren: Makefile</literal></para><screen><phrase role="commit-message">Use DOCBOOK_SVN variable everywhere, please; build with PDF_MAKER</phrase></screen> </listitem>
+<listitem> <para><literal>Keith Fahlgren: Makefile</literal></para><screen><phrase role="commit-message">Use repo_dir variable everywhere, please; build with PDF_MAKER</phrase></screen> </listitem>
<listitem>
<para><literal>Michael(tm) Smith: Makefile</literal></para><screen><phrase role="commit-message">moved extensions build targets from master xsl/Makefile to
xsl/extensions/Makefile</phrase></screen>
-include $(DOCBOOK_SVN)/buildtools/Makefile.incl
+include $(repo_dir)/buildtools/Makefile.incl
SOURCES=af.xml am.xml ar.xml as.xml ast.xml az.xml bg.xml bn.xml bn_in.xml bs.xml \
ca.xml cs.xml cy.xml da.xml de.xml el.xml en.xml eo.xml es.xml et.xml eu.xml \
ta.xml te.xml th.xml tl.xml tr.xml uk.xml ur.xml vi.xml xh.xml zh.xml zh_cn.xml \
zh_tw.xml
-GENSTYLE=$(DOCBOOK_SVN)/gentext/xsl/xsl.xsl $(DOCBOOK_SVN)/gentext/locale/en.xml
+GENSTYLE=$(repo_dir)/gentext/xsl/xsl.xsl $(repo_dir)/gentext/locale/en.xml
all: $(SOURCES)
-af.xml: $(DOCBOOK_SVN)/gentext/locale/af.xml $(GENSTYLE)
-am.xml: $(DOCBOOK_SVN)/gentext/locale/am.xml $(GENSTYLE)
-ar.xml: $(DOCBOOK_SVN)/gentext/locale/ar.xml $(GENSTYLE)
-as.xml: $(DOCBOOK_SVN)/gentext/locale/as.xml $(GENSTYLE)
-ast.xml: $(DOCBOOK_SVN)/gentext/locale/ast.xml $(GENSTYLE)
-az.xml: $(DOCBOOK_SVN)/gentext/locale/az.xml $(GENSTYLE)
-bg.xml: $(DOCBOOK_SVN)/gentext/locale/bg.xml $(GENSTYLE)
-bn.xml: $(DOCBOOK_SVN)/gentext/locale/bn.xml $(GENSTYLE)
-bn_in.xml: $(DOCBOOK_SVN)/gentext/locale/bn_in.xml $(GENSTYLE)
-bs.xml: $(DOCBOOK_SVN)/gentext/locale/bs.xml $(GENSTYLE)
-ca.xml: $(DOCBOOK_SVN)/gentext/locale/ca.xml $(GENSTYLE)
-cs.xml: $(DOCBOOK_SVN)/gentext/locale/cs.xml $(GENSTYLE)
-cy.xml: $(DOCBOOK_SVN)/gentext/locale/cy.xml $(GENSTYLE)
-da.xml: $(DOCBOOK_SVN)/gentext/locale/da.xml $(GENSTYLE)
-de.xml: $(DOCBOOK_SVN)/gentext/locale/de.xml $(GENSTYLE)
-el.xml: $(DOCBOOK_SVN)/gentext/locale/el.xml $(GENSTYLE)
-en.xml: $(DOCBOOK_SVN)/gentext/locale/en.xml $(GENSTYLE)
-eo.xml: $(DOCBOOK_SVN)/gentext/locale/eo.xml $(GENSTYLE)
-es.xml: $(DOCBOOK_SVN)/gentext/locale/es.xml $(GENSTYLE)
-et.xml: $(DOCBOOK_SVN)/gentext/locale/et.xml $(GENSTYLE)
-eu.xml: $(DOCBOOK_SVN)/gentext/locale/eu.xml $(GENSTYLE)
-fa.xml: $(DOCBOOK_SVN)/gentext/locale/fa.xml $(GENSTYLE)
-fi.xml: $(DOCBOOK_SVN)/gentext/locale/fi.xml $(GENSTYLE)
-fr.xml: $(DOCBOOK_SVN)/gentext/locale/fr.xml $(GENSTYLE)
-ga.xml: $(DOCBOOK_SVN)/gentext/locale/ga.xml $(GENSTYLE)
-gl.xml: $(DOCBOOK_SVN)/gentext/locale/gl.xml $(GENSTYLE)
-gu.xml: $(DOCBOOK_SVN)/gentext/locale/gu.xml $(GENSTYLE)
-he.xml: $(DOCBOOK_SVN)/gentext/locale/he.xml $(GENSTYLE)
-hi.xml: $(DOCBOOK_SVN)/gentext/locale/hi.xml $(GENSTYLE)
-hr.xml: $(DOCBOOK_SVN)/gentext/locale/hr.xml $(GENSTYLE)
-hu.xml: $(DOCBOOK_SVN)/gentext/locale/hu.xml $(GENSTYLE)
-id.xml: $(DOCBOOK_SVN)/gentext/locale/id.xml $(GENSTYLE)
-is.xml: $(DOCBOOK_SVN)/gentext/locale/is.xml $(GENSTYLE)
-it.xml: $(DOCBOOK_SVN)/gentext/locale/it.xml $(GENSTYLE)
-ja.xml: $(DOCBOOK_SVN)/gentext/locale/ja.xml $(GENSTYLE)
-ka.xml: $(DOCBOOK_SVN)/gentext/locale/ka.xml $(GENSTYLE)
-kn.xml: $(DOCBOOK_SVN)/gentext/locale/kn.xml $(GENSTYLE)
-ko.xml: $(DOCBOOK_SVN)/gentext/locale/ko.xml $(GENSTYLE)
-ky.xml: $(DOCBOOK_SVN)/gentext/locale/ky.xml $(GENSTYLE)
-la.xml: $(DOCBOOK_SVN)/gentext/locale/la.xml $(GENSTYLE)
-lt.xml: $(DOCBOOK_SVN)/gentext/locale/lt.xml $(GENSTYLE)
-lv.xml: $(DOCBOOK_SVN)/gentext/locale/lv.xml $(GENSTYLE)
-ml.xml: $(DOCBOOK_SVN)/gentext/locale/ml.xml $(GENSTYLE)
-mn.xml: $(DOCBOOK_SVN)/gentext/locale/mn.xml $(GENSTYLE)
-mr.xml: $(DOCBOOK_SVN)/gentext/locale/mr.xml $(GENSTYLE)
-nb.xml: $(DOCBOOK_SVN)/gentext/locale/nb.xml $(GENSTYLE)
-nds.xml: $(DOCBOOK_SVN)/gentext/locale/nds.xml $(GENSTYLE)
-nl.xml: $(DOCBOOK_SVN)/gentext/locale/nl.xml $(GENSTYLE)
-nn.xml: $(DOCBOOK_SVN)/gentext/locale/nn.xml $(GENSTYLE)
-or.xml: $(DOCBOOK_SVN)/gentext/locale/or.xml $(GENSTYLE)
-pa.xml: $(DOCBOOK_SVN)/gentext/locale/pa.xml $(GENSTYLE)
-pl.xml: $(DOCBOOK_SVN)/gentext/locale/pl.xml $(GENSTYLE)
-pt.xml: $(DOCBOOK_SVN)/gentext/locale/pt.xml $(GENSTYLE)
-pt_br.xml: $(DOCBOOK_SVN)/gentext/locale/pt_br.xml $(GENSTYLE)
-ro.xml: $(DOCBOOK_SVN)/gentext/locale/ro.xml $(GENSTYLE)
-ru.xml: $(DOCBOOK_SVN)/gentext/locale/ru.xml $(GENSTYLE)
-sk.xml: $(DOCBOOK_SVN)/gentext/locale/sk.xml $(GENSTYLE)
-sl.xml: $(DOCBOOK_SVN)/gentext/locale/sl.xml $(GENSTYLE)
-sq.xml: $(DOCBOOK_SVN)/gentext/locale/sq.xml $(GENSTYLE)
-sr.xml: $(DOCBOOK_SVN)/gentext/locale/sr.xml $(GENSTYLE)
-sr_Latn.xml: $(DOCBOOK_SVN)/gentext/locale/sr_Latn.xml $(GENSTYLE)
-sv.xml: $(DOCBOOK_SVN)/gentext/locale/sv.xml $(GENSTYLE)
-ta.xml: $(DOCBOOK_SVN)/gentext/locale/ta.xml $(GENSTYLE)
-te.xml: $(DOCBOOK_SVN)/gentext/locale/te.xml $(GENSTYLE)
-th.xml: $(DOCBOOK_SVN)/gentext/locale/th.xml $(GENSTYLE)
-tl.xml: $(DOCBOOK_SVN)/gentext/locale/tl.xml $(GENSTYLE)
-tr.xml: $(DOCBOOK_SVN)/gentext/locale/tr.xml $(GENSTYLE)
-uk.xml: $(DOCBOOK_SVN)/gentext/locale/uk.xml $(GENSTYLE)
-ur.xml: $(DOCBOOK_SVN)/gentext/locale/ur.xml $(GENSTYLE)
-vi.xml: $(DOCBOOK_SVN)/gentext/locale/vi.xml $(GENSTYLE)
-xh.xml: $(DOCBOOK_SVN)/gentext/locale/xh.xml $(GENSTYLE)
-zh.xml: $(DOCBOOK_SVN)/gentext/locale/zh.xml $(GENSTYLE)
-zh_cn.xml: $(DOCBOOK_SVN)/gentext/locale/zh_cn.xml $(GENSTYLE)
-zh_tw.xml: $(DOCBOOK_SVN)/gentext/locale/zh_tw.xml $(GENSTYLE)
+af.xml: $(repo_dir)/gentext/locale/af.xml $(GENSTYLE)
+am.xml: $(repo_dir)/gentext/locale/am.xml $(GENSTYLE)
+ar.xml: $(repo_dir)/gentext/locale/ar.xml $(GENSTYLE)
+as.xml: $(repo_dir)/gentext/locale/as.xml $(GENSTYLE)
+ast.xml: $(repo_dir)/gentext/locale/ast.xml $(GENSTYLE)
+az.xml: $(repo_dir)/gentext/locale/az.xml $(GENSTYLE)
+bg.xml: $(repo_dir)/gentext/locale/bg.xml $(GENSTYLE)
+bn.xml: $(repo_dir)/gentext/locale/bn.xml $(GENSTYLE)
+bn_in.xml: $(repo_dir)/gentext/locale/bn_in.xml $(GENSTYLE)
+bs.xml: $(repo_dir)/gentext/locale/bs.xml $(GENSTYLE)
+ca.xml: $(repo_dir)/gentext/locale/ca.xml $(GENSTYLE)
+cs.xml: $(repo_dir)/gentext/locale/cs.xml $(GENSTYLE)
+cy.xml: $(repo_dir)/gentext/locale/cy.xml $(GENSTYLE)
+da.xml: $(repo_dir)/gentext/locale/da.xml $(GENSTYLE)
+de.xml: $(repo_dir)/gentext/locale/de.xml $(GENSTYLE)
+el.xml: $(repo_dir)/gentext/locale/el.xml $(GENSTYLE)
+en.xml: $(repo_dir)/gentext/locale/en.xml $(GENSTYLE)
+eo.xml: $(repo_dir)/gentext/locale/eo.xml $(GENSTYLE)
+es.xml: $(repo_dir)/gentext/locale/es.xml $(GENSTYLE)
+et.xml: $(repo_dir)/gentext/locale/et.xml $(GENSTYLE)
+eu.xml: $(repo_dir)/gentext/locale/eu.xml $(GENSTYLE)
+fa.xml: $(repo_dir)/gentext/locale/fa.xml $(GENSTYLE)
+fi.xml: $(repo_dir)/gentext/locale/fi.xml $(GENSTYLE)
+fr.xml: $(repo_dir)/gentext/locale/fr.xml $(GENSTYLE)
+ga.xml: $(repo_dir)/gentext/locale/ga.xml $(GENSTYLE)
+gl.xml: $(repo_dir)/gentext/locale/gl.xml $(GENSTYLE)
+gu.xml: $(repo_dir)/gentext/locale/gu.xml $(GENSTYLE)
+he.xml: $(repo_dir)/gentext/locale/he.xml $(GENSTYLE)
+hi.xml: $(repo_dir)/gentext/locale/hi.xml $(GENSTYLE)
+hr.xml: $(repo_dir)/gentext/locale/hr.xml $(GENSTYLE)
+hu.xml: $(repo_dir)/gentext/locale/hu.xml $(GENSTYLE)
+id.xml: $(repo_dir)/gentext/locale/id.xml $(GENSTYLE)
+is.xml: $(repo_dir)/gentext/locale/is.xml $(GENSTYLE)
+it.xml: $(repo_dir)/gentext/locale/it.xml $(GENSTYLE)
+ja.xml: $(repo_dir)/gentext/locale/ja.xml $(GENSTYLE)
+ka.xml: $(repo_dir)/gentext/locale/ka.xml $(GENSTYLE)
+kn.xml: $(repo_dir)/gentext/locale/kn.xml $(GENSTYLE)
+ko.xml: $(repo_dir)/gentext/locale/ko.xml $(GENSTYLE)
+ky.xml: $(repo_dir)/gentext/locale/ky.xml $(GENSTYLE)
+la.xml: $(repo_dir)/gentext/locale/la.xml $(GENSTYLE)
+lt.xml: $(repo_dir)/gentext/locale/lt.xml $(GENSTYLE)
+lv.xml: $(repo_dir)/gentext/locale/lv.xml $(GENSTYLE)
+ml.xml: $(repo_dir)/gentext/locale/ml.xml $(GENSTYLE)
+mn.xml: $(repo_dir)/gentext/locale/mn.xml $(GENSTYLE)
+mr.xml: $(repo_dir)/gentext/locale/mr.xml $(GENSTYLE)
+nb.xml: $(repo_dir)/gentext/locale/nb.xml $(GENSTYLE)
+nds.xml: $(repo_dir)/gentext/locale/nds.xml $(GENSTYLE)
+nl.xml: $(repo_dir)/gentext/locale/nl.xml $(GENSTYLE)
+nn.xml: $(repo_dir)/gentext/locale/nn.xml $(GENSTYLE)
+or.xml: $(repo_dir)/gentext/locale/or.xml $(GENSTYLE)
+pa.xml: $(repo_dir)/gentext/locale/pa.xml $(GENSTYLE)
+pl.xml: $(repo_dir)/gentext/locale/pl.xml $(GENSTYLE)
+pt.xml: $(repo_dir)/gentext/locale/pt.xml $(GENSTYLE)
+pt_br.xml: $(repo_dir)/gentext/locale/pt_br.xml $(GENSTYLE)
+ro.xml: $(repo_dir)/gentext/locale/ro.xml $(GENSTYLE)
+ru.xml: $(repo_dir)/gentext/locale/ru.xml $(GENSTYLE)
+sk.xml: $(repo_dir)/gentext/locale/sk.xml $(GENSTYLE)
+sl.xml: $(repo_dir)/gentext/locale/sl.xml $(GENSTYLE)
+sq.xml: $(repo_dir)/gentext/locale/sq.xml $(GENSTYLE)
+sr.xml: $(repo_dir)/gentext/locale/sr.xml $(GENSTYLE)
+sr_Latn.xml: $(repo_dir)/gentext/locale/sr_Latn.xml $(GENSTYLE)
+sv.xml: $(repo_dir)/gentext/locale/sv.xml $(GENSTYLE)
+ta.xml: $(repo_dir)/gentext/locale/ta.xml $(GENSTYLE)
+te.xml: $(repo_dir)/gentext/locale/te.xml $(GENSTYLE)
+th.xml: $(repo_dir)/gentext/locale/th.xml $(GENSTYLE)
+tl.xml: $(repo_dir)/gentext/locale/tl.xml $(GENSTYLE)
+tr.xml: $(repo_dir)/gentext/locale/tr.xml $(GENSTYLE)
+uk.xml: $(repo_dir)/gentext/locale/uk.xml $(GENSTYLE)
+ur.xml: $(repo_dir)/gentext/locale/ur.xml $(GENSTYLE)
+vi.xml: $(repo_dir)/gentext/locale/vi.xml $(GENSTYLE)
+xh.xml: $(repo_dir)/gentext/locale/xh.xml $(GENSTYLE)
+zh.xml: $(repo_dir)/gentext/locale/zh.xml $(GENSTYLE)
+zh_cn.xml: $(repo_dir)/gentext/locale/zh_cn.xml $(GENSTYLE)
+zh_tw.xml: $(repo_dir)/gentext/locale/zh_tw.xml $(GENSTYLE)
%.xml:
- $(XSLT) $(DOCBOOK_SVN)/gentext/locale/en.xml $(DOCBOOK_SVN)/gentext/xsl/xsl.xsl $@ locale.file=$@
+ $(XSLT) $(repo_dir)/gentext/locale/en.xml $(repo_dir)/gentext/xsl/xsl.xsl $@ locale.file=$@
clean:
$(RM) $(SOURCES)
-include $(DOCBOOK_SVN)/releasetools/Variables.mk
+include $(repo_dir)/releasetools/Variables.mk
XJPARSEFLAGS= -E 0 -w
FO_BUILDER=saxon
# otherwise, xsltproc reports duplicate ID errors...
%.included: %
$(XINCLUDE) $< > $@.tmp
- $(DOCBOOK_SVN)/buildtools/saxon $@.tmp $(XMLID_TO_ID) > $@
+ $(repo_dir)/buildtools/saxon $@.tmp $(XMLID_TO_ID) > $@
$(RM) $@.tmp
# build reference.pdf.gz except for snapshot and "-pre" releases
for dir in $(DIRS); do cp -p $< $$dir; done
reference.fo: ../docsrc/reference.xml.included $(REFERENCEFOXSL) fo/page.png $(DOC_SOURCE_XML_FILES)
- $(DOCBOOK_SVN)/buildtools/xslt -$(FO_BUILDER) $< $(REFERENCEFOXSL) > $@
+ $(repo_dir)/buildtools/xslt -$(FO_BUILDER) $< $(REFERENCEFOXSL) > $@
reference.pdf: reference.fo
ifeq ($(PDF_MAKER),dblatex)
-include $(DOCBOOK_SVN)/releasetools/Variables.mk
+include $(repo_dir)/releasetools/Variables.mk
XJPARSEFLAGS= -E 0 -w
ifeq ($(XSLTENGINE),saxon)
DOCBOOK_RNG=../../releasetools/docbook.rng
else
-DOCBOOK_RNG=$(DOCBOOK_SVN)/releasetools/docbook.rng
+DOCBOOK_RNG=$(repo_dir)/releasetools/docbook.rng
endif
else
-DOCBOOK_RNG=$(DOCBOOK_SVN)/releasetools/docbook.rng
+DOCBOOK_RNG=$(repo_dir)/releasetools/docbook.rng
endif
PARAM_XSL_FILES=$(foreach format,$(PARAM_DIRS),../$(format)/param.xsl)
PI_XSL_FILES=$(foreach format,$(PI_DIRS),../$(format)/pi.xsl)
-include $(DOCBOOK_SVN)/buildtools/Makefile.incl
+include $(repo_dir)/buildtools/Makefile.incl
all: profile-eclipse.xsl
profile-eclipse.xsl: eclipse.xsl ../profiling/xsl2profile.xsl
Before running the test suite you must check out (all of)
https://docbook.svn.sourceforge.net/svnroot/docbook/trunk/ and set the
-environment variable DOCBOOK_SVN to the location of the checkout.
+environment variable repo_dir to the location of the checkout.
Running tests
describe DocBook::Epub do
before(:all) do
@filedir = File.expand_path(File.join(File.dirname(__FILE__), 'files'))
- @testdocsdir = File.expand_path(File.join(ENV['DOCBOOK_SVN'], 'testdocs', 'tests'))
+ @testdocsdir = File.expand_path(File.join(ENV['repo_dir'], 'testdocs', 'tests'))
@tmpdir = File.join(Dir::tmpdir(), "epubregressions"); Dir.mkdir(@tmpdir) rescue Errno::EEXIST
end
$DEBUG = false
-TESTDOCSDIR = File.expand_path(File.join(ENV['DOCBOOK_SVN'], 'testdocs', 'tests'))
+TESTDOCSDIR = File.expand_path(File.join(ENV['repo_dir'], 'testdocs', 'tests'))
NUMBER_TO_TEST = 15
describe DocBook::Epub do
$DEBUG = false
-TESTDOCSDIR = File.expand_path(File.join(ENV['DOCBOOK_SVN'], 'testdocs', 'tests'))
+TESTDOCSDIR = File.expand_path(File.join(ENV['repo_dir'], 'testdocs', 'tests'))
describe DocBook::Epub do
describe DocBook::Epub do
before(:all) do
@filedir = File.expand_path(File.join(File.dirname(__FILE__), 'files'))
- @testdocsdir = File.expand_path(File.join(ENV['DOCBOOK_SVN'], 'testdocs', 'tests'))
+ @testdocsdir = File.expand_path(File.join(ENV['repo_dir'], 'testdocs', 'tests'))
exampledir = File.expand_path(File.join(File.dirname(__FILE__), 'examples'))
@valid_epub = File.join(exampledir, "AMasqueOfDays.epub")
@tmpdir = File.join(Dir::tmpdir(), "epubspec"); Dir.mkdir(@tmpdir) rescue Errno::EEXIST
-include $(DOCBOOK_SVN)/buildtools/Makefile.incl\r
+include $(repo_dir)/buildtools/Makefile.incl\r
\r
TARGETNS=http://www.w3.org/1999/xhtml\r
\r
all: saxon65.jar xalan27.jar webhelpindexer.jar xslt.py docbook.py README.LIBXSLT
-saxon65.jar: $(DOCBOOK_SVN)/xsl-saxon/saxon65.jar
+saxon65.jar: $(repo_dir)/xsl-saxon/saxon65.jar
cp -p $^ $@
-xalan27.jar: $(DOCBOOK_SVN)/xsl-xalan/xalan27.jar
+xalan27.jar: $(repo_dir)/xsl-xalan/xalan27.jar
cp -p $^ $@
-webhelpindexer.jar: $(DOCBOOK_SVN)/xsl-webhelpindexer/webhelpindexer.jar
+webhelpindexer.jar: $(repo_dir)/xsl-webhelpindexer/webhelpindexer.jar
cp -p $^ $@
- cp -p $(DOCBOOK_SVN)/xsl-webhelpindexer/lib/*.jar .
- cp -p $(DOCBOOK_SVN)/xsl-webhelpindexer/*.txt .
+ cp -p $(repo_dir)/xsl-webhelpindexer/lib/*.jar .
+ cp -p $(repo_dir)/xsl-webhelpindexer/*.txt .
-$(DOCBOOK_SVN)/xsl-saxon/saxon65.jar: $(wildcard $(DOCBOOK_SVN)/xsl-saxon/src/com/nwalsh/saxon/*.java)
+$(repo_dir)/xsl-saxon/saxon65.jar: $(wildcard $(repo_dir)/xsl-saxon/src/com/nwalsh/saxon/*.java)
$(MAKE) -C $(dir $@)
-$(DOCBOOK_SVN)/xsl-xalan/xalan27.jar: $(wildcard $(DOCBOOK_SVN)/xsl-xalan/src/com/nwalsh/xalan/*.java)
+$(repo_dir)/xsl-xalan/xalan27.jar: $(wildcard $(repo_dir)/xsl-xalan/src/com/nwalsh/xalan/*.java)
$(MAKE) -C $(dir $@)
-$(DOCBOOK_SVN)/xsl-webhelpindexer/webhelpindexer.jar: $(wildcard $(DOCBOOK_SVN)/xsl-webhelpindexer/src/com/nexwave/*/*.java)
+$(repo_dir)/xsl-webhelpindexer/webhelpindexer.jar: $(wildcard $(repo_dir)/xsl-webhelpindexer/src/com/nexwave/*/*.java)
$(MAKE) -C $(dir $@)
-xslt.py: $(DOCBOOK_SVN)/xsl-libxslt/python/xslt.py
+xslt.py: $(repo_dir)/xsl-libxslt/python/xslt.py
cp -p $^ $@
-docbook.py: $(DOCBOOK_SVN)/xsl-libxslt/python/docbook.py
+docbook.py: $(repo_dir)/xsl-libxslt/python/docbook.py
cp -p $^ $@
-README.LIBXSLT: $(DOCBOOK_SVN)/xsl-libxslt/python/README.LIBXSLT
+README.LIBXSLT: $(repo_dir)/xsl-libxslt/python/README.LIBXSLT
cp -p $^ $@
clean:
-include $(DOCBOOK_SVN)/buildtools/Makefile.incl
+include $(repo_dir)/buildtools/Makefile.incl
PARAMBASE=param
XSLFILES=param.xsl profile-docbook.xsl
-include $(DOCBOOK_SVN)/buildtools/Makefile.incl
+include $(repo_dir)/buildtools/Makefile.incl
PARAMBASE=param
XSLFILES=param.xsl profile-docbook.xsl profile-chunk-code.xsl
profile-chunk-code.xsl: chunk-code.xsl ../profiling/xsl2profile.xsl
$(XSLT) $< ../profiling/xsl2profile.xsl $@
else
-profile-chunk-code.xsl: chunk-code.xsl $(DOCBOOK_SVN)/xsl/profiling/xsl2profile.xsl
- $(XSLT) $< $(DOCBOOK_SVN)/xsl/profiling/xsl2profile.xsl $@
+profile-chunk-code.xsl: chunk-code.xsl $(repo_dir)/xsl/profiling/xsl2profile.xsl
+ $(XSLT) $< $(repo_dir)/xsl/profiling/xsl2profile.xsl $@
endif
else
-profile-chunk-code.xsl: chunk-code.xsl $(DOCBOOK_SVN)/xsl/profiling/xsl2profile.xsl
- $(XSLT) $< $(DOCBOOK_SVN)/xsl/profiling/xsl2profile.xsl $@
+profile-chunk-code.xsl: chunk-code.xsl $(repo_dir)/xsl/profiling/xsl2profile.xsl
+ $(XSLT) $< $(repo_dir)/xsl/profiling/xsl2profile.xsl $@
endif
-include $(DOCBOOK_SVN)/buildtools/Makefile.incl
+include $(repo_dir)/buildtools/Makefile.incl
all: profile-htmlhelp-common.xsl
profile-htmlhelp-common.xsl: htmlhelp-common.xsl ../profiling/xsl2profile.xsl
-include $(DOCBOOK_SVN)/buildtools/Makefile.incl
+include $(repo_dir)/buildtools/Makefile.incl
all: profile-javahelp.xsl
profile-javahelp.xsl: javahelp.xsl ../profiling/xsl2profile.xsl
-include $(DOCBOOK_SVN)/buildtools/Makefile.incl
+include $(repo_dir)/buildtools/Makefile.incl
PARAMBASE=lib
XSLFILES=lib.xsl
-include $(DOCBOOK_SVN)/buildtools/Makefile.incl
+include $(repo_dir)/buildtools/Makefile.incl
PARAMBASE=param
XSLFILES=param.xsl profile-docbook.xsl html-synop.xsl
-include $(DOCBOOK_SVN)/buildtools/Makefile.incl
+include $(repo_dir)/buildtools/Makefile.incl
PARAMBASE=param
XSLFILES=param.xsl
all: refentry.007.xml refentry.007.ns.xml
-refentry.007.xml: $(DOCBOOK_SVN)/releasetools/refentry.007.xml
+refentry.007.xml: $(repo_dir)/releasetools/refentry.007.xml
cp $< $@
-refentry.007.ns.xml: $(DOCBOOK_SVN)/releasetools/refentry.007.ns.xml
+refentry.007.ns.xml: $(repo_dir)/releasetools/refentry.007.ns.xml
cp $< $@
clean:
-include $(DOCBOOK_SVN)/buildtools/Makefile.incl
+include $(repo_dir)/buildtools/Makefile.incl
PARAMBASE=param
XSLFILES=param.xsl
PARAMBASE=param
ALLTARGETS=param.xml
-include $(DOCBOOK_SVN)/buildtools/Makefile.incl
+include $(repo_dir)/buildtools/Makefile.incl
all: xsl-files profile-docbook.xsl profile-chunk.xsl profile-onechunk.xsl
-include $(DOCBOOK_SVN)/buildtools/Makefile.incl
+include $(repo_dir)/buildtools/Makefile.incl
TARGETNS=http://www.w3.org/1999/xhtml
-include $(DOCBOOK_SVN)/buildtools/Makefile.incl
+include $(repo_dir)/buildtools/Makefile.incl
TARGETNS=http://www.w3.org/1999/xhtml