| 
            Last change
 on this file since 2d50a2 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.0 KB
           | 
        
      
      
| Rev | Line |   | 
|---|
| [6bdba0] | 1 | EXTRA_DIST =
 | 
|---|
 | 2 | 
 | 
|---|
| [6029a6] | 3 | # userguide documentation
 | 
|---|
| [14de469] | 4 | 
 | 
|---|
| [6029a6] | 5 | EXTRA_DIST += \
 | 
|---|
 | 6 |         userguide/createguide.sh \
 | 
|---|
 | 7 |         $(top_builddir)/doc/molecuilder.pdf
 | 
|---|
| [6bdba0] | 8 | 
 | 
|---|
| [6029a6] | 9 | XSLTPROC=xsltproc
 | 
|---|
 | 10 | XSLTPROC_FLAGS=@XSLTPROC_FLAGS@ \
 | 
|---|
 | 11 |         --stringparam paper.type A4
 | 
|---|
 | 12 | PDF_STYLESHEET=@DOCBOOK_ROOT@/fo/docbook.xsl
 | 
|---|
 | 13 | XML_CATALOG_FILES=$(top_builddir)/doc/userguide/catalog.xml
 | 
|---|
 | 14 | FOP=fop
 | 
|---|
 | 15 | 
 | 
|---|
 | 16 | pdfdir = $(prefix)/share/doc/@PACKAGE@
 | 
|---|
 | 17 | dist_pdf_DATA = @PACKAGE@.pdf
 | 
|---|
 | 18 | 
 | 
|---|
 | 19 | if have_fop
 | 
|---|
 | 20 | if have_xsltproc
 | 
|---|
 | 21 | 
 | 
|---|
 | 22 | @PACKAGE@.fo: $(top_srcdir)/doc/userguide/userguide.xml
 | 
|---|
 | 23 |         XML_CATALOG_FILES=$(XML_CATALOG_FILES) $(XSLTPROC) $(XSLTPROC_FLAGS) -o $@ $(PDF_STYLESHEET) $<
 | 
|---|
 | 24 | @PACKAGE@.pdf: @PACKAGE@.fo
 | 
|---|
 | 25 |         $(FOP) -fo $< -pdf $@
 | 
|---|
 | 26 | 
 | 
|---|
 | 27 | else
 | 
|---|
 | 28 | 
 | 
|---|
 | 29 | @PACKAGE@.pdf:
 | 
|---|
 | 30 |         touch $@
 | 
|---|
 | 31 | 
 | 
|---|
 | 32 | endif
 | 
|---|
 | 33 | else
 | 
|---|
 | 34 | 
 | 
|---|
 | 35 | @PACKAGE@.pdf:
 | 
|---|
 | 36 |         touch $@
 | 
|---|
| [6bdba0] | 37 | 
 | 
|---|
| [6029a6] | 38 | endif
 | 
|---|
| [14de469] | 39 | 
 | 
|---|
| [6029a6] | 40 | clean-local:
 | 
|---|
 | 41 |         $(RM) -f doc/userguide/catalog.xml
 | 
|---|
 | 42 |         $(RM) -f @PACKAGE@.fo
 | 
|---|
 | 43 |         $(RM) -f @PACKAGE@.pdf
 | 
|---|
 | 44 | 
 | 
|---|
 | 45 | distclean-local:
 | 
|---|
 | 46 |         $(RM) -f doc/userguide/catalog.xml
 | 
|---|
 | 47 |         $(RM) -f @PACKAGE@.fo
 | 
|---|
 | 48 |         $(RM) -f @PACKAGE@.pdf
 | 
|---|
 | 49 | 
 | 
|---|
 | 50 | 
 | 
|---|
 | 51 | SUBDIRS = userguide
 | 
|---|
 | 52 | 
 | 
|---|
 | 53 | EXTRA_DIST += \
 | 
|---|
 | 54 |         am_doxygen_include.am \
 | 
|---|
 | 55 |         Doxyfile
 | 
|---|
 | 56 | 
 | 
|---|
 | 57 | include ../src/documentation/Makefile.am
 | 
|---|
 | 58 | 
 | 
|---|
 | 59 | include am_doxygen_include.am
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.