41
41
# Stylesheets for building HTML and PDF
42
42
KUBUNTUXSL=libs/kubuntu-chunk.xsl
43
# Uncomment the line below this and comment out the line above this to build website with tabs
44
# KUBUNTUXSL=libs/kubuntu-web.xsl
46
# Temporary stylesheets for doc.ubuntu.com index
47
TMPXSL=tmplibs/tmp-chunk.xsl
43
INDEXXSL=libs/index-table.xsl
49
45
# Makes an Image list text file
50
46
MKIMGLST=../libs/imagelist.xsl
57
53
# Base kde directories for output from processor
58
54
KBASE=$(BUILDDIR)kubuntu/
60
old: clean about desktop package server release-notes
56
# all is for the kubuntu package and for the nightly builds for doc.ubuntu.com
57
all: clean style tbh about kindex
71
64
mkdir $(KBASE)images/C/
72
65
mkdir $(KBASE)images/callouts/
73
66
mkdir $(KBASE)images/navig/
74
cp libs/kde-default.css $(KBASE)common/
75
cp libs/kubuntu-default.css $(KBASE)common/
67
mkdir $(KBASE)images/index
68
cp libs/*.css $(KBASE)common/
76
69
cp /usr/share/doc/kde/HTML/en/common/*png $(KBASE)common/
77
70
cp images/admon/*.png $(KBASE)images/admon/
78
71
cp images/C/*.png $(KBASE)images/C/
79
72
cp images/callouts/*.png $(KBASE)images/callouts/
80
73
cp images/navig/*.png $(KBASE)images/navig/
74
cp images/index/*.png $(KBASE)images/index/
85
for doc in about-kubuntu add-applications basic-concepts \
86
config-desktop files-and-docs games getting-help hardware \
87
internet keeping-safe musicvideophotos network newtokubuntu \
88
office printing programming sysdocs-index system-settings; do \
89
xsltproc --xinclude -o $(KBASE)$$doc/C/index.html $(KUBUNTUXSL) \
90
$$doc/C/$$doc.xml; done
79
for doc in add-applications basic-concepts config-desktop files-and-docs \
80
games getting-help hardware internet keeping-safe musicvideophotos \
81
network newtokubuntu office printing programming system-settings; do \
82
xsltproc --xinclude -o $(KBASE)$$doc/C/index.html $(KUBUNTUXSL) \
83
$$doc/C/$$doc.xml; done
88
xsltproc --xinclude -o $(KBASE)index/C/index.html $(INDEXXSL) \
92
## --stringparam generate.toc "no" removes the table of contents from the page
93
## --param chunk.first.sections 0 makes this build as 1 page
96
xsltproc --stringparam generate.toc "no" --param chunk.first.sections 0 \
97
--xinclude -o $(KBASE)about-kubuntu/C/index.html $(KUBUNTUXSL) \
98
about-kubuntu/C/about-kubuntu.xml