Project

General

Profile

Feature #8283

Add generation of user-manual to Cmake buildsystem

Added by Henrik Andersson about 7 years ago. Updated almost 6 years ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
Buildsystem
Start date:
Due date:
% Done:

100%

Affected Version:
System:
bitness:
64-bit
hardware architecture:
amd64/x86

Description

port all the makefiles into something useful in cmake handle generation, translation etc od the user manual docbook

History

#1 Updated by Henrik Andersson about 7 years ago

The manual way

Generating draft document (always english):

 xsltproc --output build/darktable-usermanual.fo  xsl/darktable_fo.xsl darktable.xml 
 fop -c fopconfig.xml build/darktable-usermanual.fo -pdf darktable-usermanual.pdf

Generating profiled translated document:

 xsltproc --output build/darktable-usermanual_profiled_final.xml xsl/darktable_profiled.xsl darktable.xml
 xml2po -e -p po/sv.po -l sv build/darktable-usermanual_profiled_final.xml > build/darktable-usermanual_profiled_final-sv.xml
 xsltproc --output build/darktable-usermanual-sv.fo xsl/darktable_fo.xsl build/darktable-usermanual_profiled_final-sv.xml
 fop -c fopconfig.xml build/darktable-usermanual-sv.fo -pdfdarktable-usermanual-sv.pdf

#2 Updated by Tobias Ellinghaus about 7 years ago

Mostly fixed. The only problem is that cmake treads add_custom_target's as always outdated and regenerates the PDFs each time, that is, at "make" and again at "make install" time.

#3 Updated by Simon Spannagel over 5 years ago

  • Target version changed from 1.0.3 to Candidate for next patch release

#4 Updated by Simon Spannagel over 5 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Fixed

Also available in: Atom PDF