Action_Thermostats
Add_AtomRandomPerturbation
Add_FitFragmentPartialChargesAction
Add_RotateAroundBondAction
Add_SelectAtomByNameAction
Added_ParseSaveFragmentResults
AddingActions_SaveParseParticleParameters
Adding_Graph_to_ChangeBondActions
Adding_MD_integration_tests
Adding_ParticleName_to_Atom
Adding_StructOpt_integration_tests
AtomFragments
Automaking_mpqc_open
AutomationFragmentation_failures
Candidate_v1.5.4
Candidate_v1.6.0
Candidate_v1.6.1
ChangeBugEmailaddress
ChangingTestPorts
ChemicalSpaceEvaluator
CombiningParticlePotentialParsing
Combining_Subpackages
Debian_Package_split
Debian_package_split_molecuildergui_only
Disabling_MemDebug
Docu_Python_wait
EmpiricalPotential_contain_HomologyGraph
EmpiricalPotential_contain_HomologyGraph_documentation
Enable_parallel_make_install
Enhance_userguide
Enhanced_StructuralOptimization
Enhanced_StructuralOptimization_continued
Example_ManyWaysToTranslateAtom
Exclude_Hydrogens_annealWithBondGraph
FitPartialCharges_GlobalError
Fix_BoundInBox_CenterInBox_MoleculeActions
Fix_ChargeSampling_PBC
Fix_ChronosMutex
Fix_FitPartialCharges
Fix_FitPotential_needs_atomicnumbers
Fix_ForceAnnealing
Fix_IndependentFragmentGrids
Fix_ParseParticles
Fix_ParseParticles_split_forward_backward_Actions
Fix_PopActions
Fix_QtFragmentList_sorted_selection
Fix_Restrictedkeyset_FragmentMolecule
Fix_StatusMsg
Fix_StepWorldTime_single_argument
Fix_Verbose_Codepatterns
Fix_fitting_potentials
Fixes
ForceAnnealing_goodresults
ForceAnnealing_oldresults
ForceAnnealing_tocheck
ForceAnnealing_with_BondGraph
ForceAnnealing_with_BondGraph_continued
ForceAnnealing_with_BondGraph_continued_betteresults
ForceAnnealing_with_BondGraph_contraction-expansion
FragmentAction_writes_AtomFragments
FragmentMolecule_checks_bonddegrees
GeometryObjects
Gui_Fixes
Gui_displays_atomic_force_velocity
ImplicitCharges
IndependentFragmentGrids
IndependentFragmentGrids_IndividualZeroInstances
IndependentFragmentGrids_IntegrationTest
IndependentFragmentGrids_Sole_NN_Calculation
JobMarket_RobustOnKillsSegFaults
JobMarket_StableWorkerPool
JobMarket_unresolvable_hostname_fix
MoreRobust_FragmentAutomation
ODR_violation_mpqc_open
PartialCharges_OrthogonalSummation
PdbParser_setsAtomName
PythonUI_with_named_parameters
QtGui_reactivate_TimeChanged_changes
Recreated_GuiChecks
Rewrite_FitPartialCharges
RotateToPrincipalAxisSystem_UndoRedo
SaturateAtoms_findBestMatching
SaturateAtoms_singleDegree
StoppableMakroAction
Subpackage_CodePatterns
Subpackage_JobMarket
Subpackage_LinearAlgebra
Subpackage_levmar
Subpackage_mpqc_open
Subpackage_vmg
Switchable_LogView
ThirdParty_MPQC_rebuilt_buildsystem
TrajectoryDependenant_MaxOrder
TremoloParser_IncreasedPrecision
TremoloParser_MultipleTimesteps
TremoloParser_setsAtomName
Ubuntu_1604_changes
stable
Last change
on this file since 6029a6 was 6029a6, checked in by Frederik Heber <heber@…>, 11 years ago |
Added largely extended userguide with some images into subfolder of doc folder.
- Munched docbook into something workable:
- the big problem was out-of-source build in conjunction with the figures in
the userguide.
- I did not try hard enough with img.src.path but used entityref instead
together with a catalog file.
- so in all, we have followed:
- ... this was a long way ...
- am_conditioning on both xsltproc and fop.
|
-
Property mode
set to
100644
|
File size:
1.6 KB
|
Line | |
---|
1 | AC_DEFUN(AX_CHECK_DOCBOOK, [
|
---|
2 | # It's just rude to go over the net to build
|
---|
3 | XSLTPROC_FLAGS=--nonet
|
---|
4 | DOCBOOK_ROOT=
|
---|
5 | for i in /usr/share/xml/docbook/stylesheet/docbook-xsl-ns /usr/share/sgml/docbook/stylesheet/xsl/nwalsh /usr/share/sgml/docbook/xsl-stylesheets/;
|
---|
6 | do
|
---|
7 | if test -d "$i"; then
|
---|
8 | DOCBOOK_ROOT=$i
|
---|
9 | break
|
---|
10 | fi
|
---|
11 | done
|
---|
12 |
|
---|
13 | if test ! -f /etc/xml/catalog; then
|
---|
14 | # Last resort - try net
|
---|
15 | if test -z "$DOCBOOK_ROOT"; then
|
---|
16 | XSLTPROC_FLAGS=
|
---|
17 | fi
|
---|
18 | else
|
---|
19 | XML_CATALOG=/etc/xml/catalog
|
---|
20 | CAT_ENTRY_START='<!--'
|
---|
21 | CAT_ENTRY_END='-->'
|
---|
22 | fi
|
---|
23 |
|
---|
24 | AC_CHECK_PROG(XSLTPROC,xsltproc,xsltproc,)
|
---|
25 | XSLTPROC_WORKS=no
|
---|
26 | if test -n "$XSLTPROC"; then
|
---|
27 | AC_MSG_CHECKING([whether xsltproc works])
|
---|
28 |
|
---|
29 | if test -n "$XML_CATALOG"; then
|
---|
30 | DB_FILE="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"
|
---|
31 | else
|
---|
32 | DB_FILE="$DOCBOOK_ROOT/docbook.xsl"
|
---|
33 | fi
|
---|
34 |
|
---|
35 | $XSLTPROC $XSLTPROC_FLAGS $DB_FILE >/dev/null 2>&1 << END
|
---|
36 | <?xml version="1.0" encoding='ISO-8859-1'?>
|
---|
37 | <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
|
---|
38 | <book id="test">
|
---|
39 | </book>
|
---|
40 | END
|
---|
41 | if test "$?" = 0; then
|
---|
42 | XSLTPROC_WORKS=yes
|
---|
43 | fi
|
---|
44 | AC_MSG_RESULT($XSLTPROC_WORKS)
|
---|
45 | fi
|
---|
46 | AM_CONDITIONAL(have_xsltproc, test "$XSLTPROC_WORKS" = "yes")
|
---|
47 |
|
---|
48 | AC_CHECK_PROG(FOP,fop,fop,)
|
---|
49 | AM_CONDITIONAL(have_fop, test x"${FOP}" == x"fop")
|
---|
50 |
|
---|
51 | AC_SUBST(XML_CATALOG)
|
---|
52 | AC_SUBST(XSLTPROC_FLAGS)
|
---|
53 | AC_SUBST(DOCBOOK_ROOT)
|
---|
54 | AC_SUBST(CAT_ENTRY_START)
|
---|
55 | AC_SUBST(CAT_ENTRY_END)
|
---|
56 | ])
|
---|
Note:
See
TracBrowser
for help on using the repository browser.