~ubuntu-branches/ubuntu/wily/xubuntu-docs/wily-proposed

« back to all changes in this revision

Viewing changes to desktop-guide/Makefile

  • Committer: Package Import Robot
  • Author(s): Sean Davis, Pasi Lallinaho, David Pires, Elfy, Unit 193, Steve Dodier-Lazaro
  • Date: 2015-03-09 20:33:59 UTC
  • Revision ID: package-import@ubuntu.com-20150309203359-2aw36c6ho596wlbk
Tags: 15.04
[ Pasi Lallinaho ]
* Bump version information to 15.04 Vivid Vervet
* Attribute documentation correctly for the Xubuntu Documentation team
* Clean up some files
* Remove unused entities, directories and files
* Add responsive stylesheets for the documentation
* Tweak some CSS definitions
* Replace the caution/important image with a new image
  from upstream (elementary-xfce)
* Add responsive stylesheets for the start page
* Add an id for the legalnotice tag to output specified filename
* Improve the wording on releases on the upgrades section

[ David Pires ]
* Corrected a typo in the 'Changing update frequency and behavior'
  sub-section of the Managing installed applications chapter
* Re-write the update-configuration-notifications section of the
  Managing installed applications chapter
* Rephrased the first paragraph in index.html
* Removed all the entries related to gthumb from xubuntu.ent
* Corrected a typo in internet-networks.xml

[ Elfy ]
* Update the "Upgrading" section to be comprehensive. (LP: #1385479)

[ Unit 193 ]
* Move validation to a 'test' target, don't run at build time.
* scripts/translators: Create a fallback in case no translators are found.
* network-troubleshooting section: 'nm-tool' ➞ 'nmcli device show'
* Lower the required translation percentage to 70.

[ Steve Dodier-Lazaro ]
* Update the security guide.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
# Public domain
4
4
 
5
5
# Xubuntu Docbook Customization Layer
6
 
XUBUNTUXSL=libs/xubuntu-html-chunk-cust.xsl
 
6
XUBUNTUXSL=libs/xubuntu-docbook-conf.xsl
7
7
 
8
8
ifneq ($(wildcard po/LINGUAS),)
9
9
   $(shell ../scripts/translate.sh -u >/dev/null)
18
18
        @echo "<para>Attributed on each language's page.</para>" > C/translators.xml
19
19
        xsltproc --xinclude -o ../build/desktop-guide/index.html $(XUBUNTUXSL) C/index.xml
20
20
 
 
21
epub: epubstyle
 
22
        @echo "<para>Attributed on each language's page.</para>" > C/translators.xml
 
23
        xsltproc --xinclude -o ../build/desktop-guide/ /usr/share/xml/docbook/stylesheet/nwalsh/epub3/chunk.xsl C/index.xml
 
24
        cd ../build/desktop-guide/; \
 
25
        zip -0Xq xubuntu-docs.epub mimetype;\
 
26
        zip -Xr9Dq xubuntu-docs.epub *
 
27
 
21
28
style:
22
29
        mkdir -p ../build/libs
23
30
        cp -r libs/*css ../build/libs
25
32
        cp -r libs/admon ../build/libs
26
33
        cp -r libs/navig ../build/libs
27
34
 
 
35
epubstyle:
 
36
        mkdir -p ../build/desktop-guide/libs/images
 
37
        cp -r   libs/images/preferences-desktop.png \
 
38
                libs/images/system-lock-screen.png \
 
39
                libs/images/system-log-out.png \
 
40
                libs/images/location_icon.png \
 
41
                libs/images/package_icon.png \
 
42
                libs/images/menu_icon.png \
 
43
                libs/images/key_icon.png \
 
44
                ../build/desktop-guide/libs/images/
 
45
 
28
46
translate:
29
47
        ../scripts/translate.sh $(OPTS); \
30
48
        for dir in $(TRANSLATIONS); do \
32
50
                xsltproc --xinclude -o ../build/$$dir/index.html $(XUBUNTUXSL) $$dir/index.xml ;\
33
51
        done
34
52
 
 
53
test:
 
54
        set -e; \
 
55
        for dir in C $(TRANSLATIONS); do \
 
56
                ../scripts/validate.sh $$dir/index.xml ;\
 
57
        done
 
58
 
35
59
clean:
36
60
        ${RM} -r $(TRANSLATIONS) C/translators.xml
37
61