]> git.street.me.uk Git - andy/viking.git/blob - help/Makefile.am
[WINDOWS] Various install improvements.
[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 DOC_INCLUDES =
19 DOC_FIGURES = \
20     figures/addtr_18.png \
21     figures/addwp_18.png \
22     figures/demdl_18.png \
23     figures/edtr_18.png \
24     figures/edwp_18.png \
25     figures/geomove_18.png \
26     figures/geozoom_18.png \
27     figures/LayersTracksList.png \
28     figures/LayersTracksStatistics.png \
29     figures/Maps_download_region_dialog.png \
30     figures/map_tile_info_dialog.png \
31     figures/mapdl_18.png \
32     figures/mover_22.png \
33     figures/properties_degree.png \
34     figures/properties_units.png \
35     figures/route_finder_18.png \
36     figures/ruler_18.png \
37     figures/select_18.png \
38     figures/showpic_18.png \
39     figures/Trackpoint_edit_dialog.png \
40     figures/Track_elevation_graph.png \
41     figures/Track_properties.png \
42     figures/Track_statistics.png \
43     figures/trw_statusbar.png \
44     figures/vik_new_route_18.png \
45     figures/WaypointsList.png \
46     figures/zoom_18.png \
47     figures/zoom_status_popup.png \
48     figures/Viking-OSM-CycleMap-ManyTracks.jpg \
49     figures/DEM_file_info_dialog.png
50 DOC_LINGUAS =
51
52 EXTRA_DIST = viking.xml
53
54 CLEANFILES=
55 # man pages processing
56 # TODO conditional processing
57 # (availability of docbook stylesheet and xsltproc)
58 if GEN_MANPAGES
59 MANPAGES=viking.1
60 man_MANS = $(MANPAGES)
61 CLEANFILES+=$(MANPAGES)
62 endif
63 DB2MAN=@DB2MAN_XSL@
64 XP=@XP@ -''-nonet
65
66 %.1: %.xml
67         $(XP) -o $@ $(DB2MAN) $<