~ubuntu-branches/ubuntu/maverick/kubuntu-docs/maverick

« back to all changes in this revision

Viewing changes to kubuntu/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Richard A. Johnson
  • Date: 2007-08-17 16:58:46 UTC
  • Revision ID: james.westby@ubuntu.com-20070817165846-yjc0vhhp70bmdipm
Tags: 7.10-2
* New SVN checkout
* Commented out translations in debian/rules until final release
* Added about-kubuntu.desktop to plugins/kubuntu for LiveCD desktop icon
* Added index-table.css to debian/rules for the index.html file
* Cleaned up Makefile in SVN, show changes here
* Added pot files for about-kubuntu and systemdocs .desktop and .directory
  files
* Closes the following bugs:
  - (LP: #125325)
  - (LP: #131076)
  - (LP: #107062)
  - (LP: #129327)
  - (LP: #123648)
  - (LP: #131366)

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
 
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
45
 
 
46
 
# Temporary stylesheets for doc.ubuntu.com index
47
 
TMPXSL=tmplibs/tmp-chunk.xsl
 
43
INDEXXSL=libs/index-table.xsl
48
44
 
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/
59
55
 
60
 
old: clean about desktop package server release-notes
61
 
 
62
 
all: clean style tbh
63
 
 
64
 
kdeb: clean style tbh
 
56
# all is for the kubuntu package and for the nightly builds for doc.ubuntu.com
 
57
all: clean style tbh about kindex
65
58
 
66
59
# Style
67
60
style:
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/
81
75
 
82
76
# Topic Based Help
83
77
tbh:
84
78
 
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
 
84
 
 
85
# Kubuntu Index
 
86
kindex:
 
87
 
 
88
        xsltproc --xinclude -o $(KBASE)index/C/index.html $(INDEXXSL) \
 
89
                index/C/index.xml
 
90
 
 
91
# About Kubuntu
 
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
 
94
about:
 
95
 
 
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
91
99
 
92
100
# Cleanup
93
101
clean: