X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/a2322aa119c4a8f684263830eb6178e17e5e4140..bd718296b68b972b52361f786c4d4e66a52decae:/help/Makefile.am diff --git a/help/Makefile.am b/help/Makefile.am index ff969c35..71a0a8ae 100644 --- a/help/Makefile.am +++ b/help/Makefile.am @@ -1,16 +1,72 @@ +if GEN_MANPAGES include $(top_srcdir)/gnome-doc-utils.make +endif # Annoyingly in the XML, yelp refuses to load relative images fileref, i.e. ../../src/icons/file.png # whereas the PDF generation inserts these references OK # Nevertheless we need to copy the images into figures/ so they are available for the distribution installed help # Most tool icons are _18, except the pan one which is _22 just to be annoying get-icons: - cp -f ../src/icons/*_[12][0-9].png C/figures/ + -cp -f ../src/icons/*_[12][0-9].png C/figures/ +# '-' ^^^^^ means it doesn't care about the exit status +# this copy statement is not critical (especially when run under make distcheck) dist-hook: get-icons doc-dist-hook DOC_MODULE = viking -DOC_ENTITIES = legal.xml +DOC_ENTITIES = legal.xml \ + attribution.xml \ + commandline.xml \ + georef_layer.xml \ + mapnik_rendering_layer.xml \ + recommends.xml DOC_INCLUDES = -DOC_FIGURES = figures/*.png +DOC_FIGURES = \ + figures/addtr_18.png \ + figures/addwp_18.png \ + figures/demdl_18.png \ + figures/edtr_18.png \ + figures/edwp_18.png \ + figures/geomove_18.png \ + figures/geozoom_18.png \ + figures/LayersTracksList.png \ + figures/LayersTracksStatistics.png \ + figures/Maps_download_region_dialog.png \ + figures/map_tile_info_dialog.png \ + figures/mapdl_18.png \ + figures/mover_22.png \ + figures/properties_degree.png \ + figures/properties_units.png \ + figures/route_finder_18.png \ + figures/ruler_18.png \ + figures/select_18.png \ + figures/showpic_18.png \ + figures/Trackpoint_edit_dialog.png \ + figures/Track_elevation_graph.png \ + figures/Track_properties.png \ + figures/Track_statistics.png \ + figures/trw_statusbar.png \ + figures/vik_new_route_18.png \ + figures/WaypointsList.png \ + figures/zoom_18.png \ + figures/zoom_status_popup.png \ + figures/Viking-OSM-CycleMap-ManyTracks.jpg \ + figures/DEM_file_info_dialog.png \ + figures/customize_toolbar_dialog.png DOC_LINGUAS = + +EXTRA_DIST = viking.xml.in + +CLEANFILES= + +# man pages processing +if GEN_MANPAGES +MANPAGES=viking.1 +man_MANS = $(MANPAGES) +CLEANFILES+=$(MANPAGES) +endif +DB2MAN=@DB2MAN_XSL@ +XP=@XP@ -''-nonet + +%.1: %.xml + $(XP) -o $@ $(DB2MAN) $<