]> git.street.me.uk Git - andy/viking.git/blame - help/Makefile.am
[DOC] Improve formal docbook compliance.
[andy/viking.git] / help / Makefile.am
CommitLineData
f8b8a0b5 1include $(top_srcdir)/gnome-doc-utils.make
f8b8a0b5 2
a2322aa1
RN
3# Annoyingly in the XML, yelp refuses to load relative images fileref, i.e. ../../src/icons/file.png
4# whereas the PDF generation inserts these references OK
5# Nevertheless we need to copy the images into figures/ so they are available for the distribution installed help
6# Most tool icons are _18, except the pan one which is _22 just to be annoying
7get-icons:
d7603eb2
RN
8 -cp -f ../src/icons/*_[12][0-9].png C/figures/
9# '-' ^^^^^ means it doesn't care about the exit status
10# this copy statement is not critical (especially when run under make distcheck)
f8b8a0b5 11
a2322aa1 12dist-hook: get-icons doc-dist-hook
f8b8a0b5 13
a2322aa1 14DOC_MODULE = viking
1a358f70
RN
15DOC_ENTITIES = legal.xml \
16 attribution.xml \
f2e987af 17 commandline.xml \
8429176e 18 georef_layer.xml \
e5ee3c87 19 mapnik_rendering_layer.xml \
f2e987af 20 recommends.xml
a2322aa1 21DOC_INCLUDES =
ec84f3a6
GT
22DOC_FIGURES = \
23 figures/addtr_18.png \
24 figures/addwp_18.png \
25 figures/demdl_18.png \
26 figures/edtr_18.png \
27 figures/edwp_18.png \
28 figures/geomove_18.png \
29 figures/geozoom_18.png \
f85716b8
RN
30 figures/LayersTracksList.png \
31 figures/LayersTracksStatistics.png \
175e9bd0 32 figures/Maps_download_region_dialog.png \
ec84f3a6
GT
33 figures/map_tile_info_dialog.png \
34 figures/mapdl_18.png \
35 figures/mover_22.png \
36 figures/properties_degree.png \
37 figures/properties_units.png \
38 figures/route_finder_18.png \
39 figures/ruler_18.png \
40 figures/select_18.png \
41 figures/showpic_18.png \
468f536d 42 figures/Trackpoint_edit_dialog.png \
0f29139c
RN
43 figures/Track_elevation_graph.png \
44 figures/Track_properties.png \
45 figures/Track_statistics.png \
ec84f3a6
GT
46 figures/trw_statusbar.png \
47 figures/vik_new_route_18.png \
f85716b8 48 figures/WaypointsList.png \
ec84f3a6
GT
49 figures/zoom_18.png \
50 figures/zoom_status_popup.png \
131af8c0 51 figures/Viking-OSM-CycleMap-ManyTracks.jpg \
699c2a0a
RN
52 figures/DEM_file_info_dialog.png \
53 figures/customize_toolbar_dialog.png
a2322aa1 54DOC_LINGUAS =
a4aa5b21
RN
55
56EXTRA_DIST = viking.xml
57
58CLEANFILES=
59# man pages processing
60# TODO conditional processing
61# (availability of docbook stylesheet and xsltproc)
62if GEN_MANPAGES
63MANPAGES=viking.1
64man_MANS = $(MANPAGES)
65CLEANFILES+=$(MANPAGES)
66endif
67DB2MAN=@DB2MAN_XSL@
68XP=@XP@ -''-nonet
69
70%.1: %.xml
71 $(XP) -o $@ $(DB2MAN) $<