Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
fc3ebc40
Commit
fc3ebc40
authored
May 19, 2006
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Generate html and pdf output from DocBook xml sources /jh
parent
f73cb27c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
63 additions
and
1 deletion
+63
-1
src/doc/man/src/os_linux/hw_x86/makefile
src/doc/man/src/os_linux/hw_x86/makefile
+63
-1
No files found.
src/doc/man/src/os_linux/hw_x86/makefile
View file @
fc3ebc40
...
...
@@ -68,6 +68,40 @@ export_gif_en_us := $(patsubst %.gif,$(doc_dir)/en_us/%.gif,$(gif_sources))
export_gif_exe
:=
$(
patsubst
%.gif,
$(exe_dir)
/%.gif,
$(gif_sources)
)
clean_pdf
:=
$(
patsubst
%.pdf,clean_%.pdf,
$(pdf_sources)
)
#docbook-related, added by jonas_h 2006-04-nn
targetsuffixes
:=
_single.html _index.html .pdf
sv_se_xmlsources
:=
dbpwr.xml upgrade42.xml
en_us_xmlsources
:=
pwrgsg.xml upgrade42.xml changelog.xml
sv_se_xmltargets
:=
$(
addprefix
$(doc_dir)
/sv_se/,
\
$(
foreach
targetsuffix,
$(targetsuffixes)
,
\
$(
foreach
basefile,
$(
basename
$(sv_se_xmlsources)
)
,
\
$(
addsuffix
$(targetsuffix)
,
$(basefile)
))))
en_us_xmltargets
:=
$(
addprefix
$(doc_dir)
/en_us/,
\
$(
foreach
targetsuffix,
$(targetsuffixes)
,
\
$(
foreach
basefile,
$(
basename
$(en_us_xmlsources)
)
,
\
$(
addsuffix
$(targetsuffix)
,
$(basefile)
))))
csstargets
:=
$(
addprefix
$(doc_dir)
/sv_se/,
$(
notdir
$(
wildcard
$(pwre_sroot)
/doc/man/src/
*
.css
)))
\
$(
addprefix
$(doc_dir)
/en_us/,
$(
notdir
$(
wildcard
$(pwre_sroot)
/doc/man/src/
*
.css
)))
medianonsources
=
$(
notdir
$(
wildcard
$(pwre_sroot)
/doc/man/src/dg_fig
*
))
)
mediasources
:=
$(
filter-out
$(medianonsources)
,
$(
notdir
\
$(
wildcard
$(pwre_sroot)
/doc/man/src/
*
.png
)
\
$(
wildcard
$(pwre_sroot)
/doc/man/src/
*
.tif
)
\
$(
wildcard
$(pwre_sroot)
/doc/man/src/
*
.svg
)
\
$(
wildcard
$(pwre_sroot)
/doc/man/src/
*
.jpg
)
\
$(
wildcard
$(pwre_sroot)
/doc/man/src/
*
.gif
)))
mediatargets
:=
$(
addprefix
$(doc_dir)
/,
$(mediasources)
)
#end of
.SUFFIXES
:
$(doc_dir)/%.pdf
:
../../%.pdf
...
...
@@ -117,11 +151,16 @@ lib :
exe
:
clean
:
realclean
:
clean $(clean_pdf) $(clean_c)
# added by jonas_h 2006-04-nn
docbook
:
$(sv_se_xmltargets) $(en_us_xmltargets) $(mediatargets) $(csstargets)
# end of
$(clean_pdf)
:
clean_%.pdf : %.pdf
@
$(rm)
$(rmflags)
$(doc_dir)
/
$*
.pdf
...
...
@@ -200,10 +239,33 @@ $(doc_dir)/sv_se/man_geref.ps : $(pwre_sroot)/doc/man/sv_se/man_geref.dat
@
co_convert
-n
-d
$(doc_dir)
/sv_se
$(source)
# implicit rules, docbook-related, added by jonas_h 2006-04-nn
%.fo
::
%.xml
$(xsltproc)
$(xsltproc_args)
$(fo_xsl)
$(source)
>
$(target)
$(doc_dir)/%.pdf
:
$(pwre_sroot)/doc/man/%.fo $(pwre_sroot)/doc/man/src/pwrtitlepages.xsl
$(fop)
$(source)
-pdf
$(target)
rm
-f
$(source)
$(doc_dir)/%_single.html
::
$(pwre_sroot)/doc/man/%.xml
$(xsltproc)
$(xsltproc_args)
-o
$(target)
$(html_xsl)
$(source)
$(doc_dir)/en_us/%_index.html
::
$(pwre_sroot)/doc/man/en_us/%.xml
$(xsltproc)
$(xsltproc_args)
$(chunk_args_en_us)
$(chunk_xsl)
$(source)
$(doc_dir)/sv_se/%_index.html
::
$(pwre_sroot)/doc/man/sv_se/%.xml
$(xsltproc)
$(xsltproc_args)
$(chunk_args_sv_se)
$(chunk_xsl)
$(source)
$(doc_dir)/sv_se/%.css $(doc_dir)/en_us/%.css
::
$(pwre_sroot)/doc/man/src/%.css
cp
$(source)
$(target)
# all-purpose rule for graphics/media
$(doc_dir)/%
::
$(pwre_sroot)/doc/man/src/%
cp
-u
$(source)
$(target)
# Rule for creating titlepage xsl templates
$(pwre_sroot)/doc/man/src/pwrtitlepages.xsl
::
$(pwre_sroot)/doc/man/src/pwrtitlepage.spec.xml
$(xsltproc)
-o
$(target)
$(docbook_stylesheetdir)
/template/titlepage.xsl
$(source)
#end of
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment