]> git.street.me.uk Git - andy/viking.git/blob - help/Makefile.am
Insert parameter for Viking's version in viking.xml
[andy/viking.git] / help / Makefile.am
1 include $(top_srcdir)/gnome-doc-utils.make
2
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
7 get-icons:
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)
11
12 dist-hook: get-icons doc-dist-hook
13
14 DOC_MODULE = viking
15 DOC_ENTITIES = legal.xml \
16     attribution.xml \
17     commandline.xml \
18     georef_layer.xml \
19     mapnik_rendering_layer.xml \
20     recommends.xml
21 DOC_INCLUDES =
22 DOC_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 \
30     figures/LayersTracksList.png \
31     figures/LayersTracksStatistics.png \
32     figures/Maps_download_region_dialog.png \
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 \
42     figures/Trackpoint_edit_dialog.png \
43     figures/Track_elevation_graph.png \
44     figures/Track_properties.png \
45     figures/Track_statistics.png \
46     figures/trw_statusbar.png \
47     figures/vik_new_route_18.png \
48     figures/WaypointsList.png \
49     figures/zoom_18.png \
50     figures/zoom_status_popup.png \
51     figures/Viking-OSM-CycleMap-ManyTracks.jpg \
52     figures/DEM_file_info_dialog.png \
53     figures/customize_toolbar_dialog.png
54 DOC_LINGUAS =
55
56 EXTRA_DIST = viking.xml.in
57
58 CLEANFILES=
59 # man pages processing
60 # TODO conditional processing
61 # (availability of docbook stylesheet and xsltproc)
62 if GEN_MANPAGES
63 MANPAGES=viking.1
64 man_MANS = $(MANPAGES)
65 CLEANFILES+=$(MANPAGES)
66 endif
67 DB2MAN=@DB2MAN_XSL@
68 XP=@XP@ -''-nonet
69
70 %.1: %.xml
71         $(XP) -o $@ $(DB2MAN) $<