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