Build help with yelp-tools instead of gnome-doc-utils
Help will be installed to /usr/share/help instead of /usr/share/gnome/help and we'll need to use help: instead of ghelp: Also fixed a couple translation typos that caused build failures
This commit is contained in:
parent
375aa83e0e
commit
5636de2ed1
2 changed files with 10 additions and 8 deletions
|
@ -1,13 +1,15 @@
|
|||
include $(top_srcdir)/gnome-doc-utils.make
|
||||
dist-hook: doc-dist-hook
|
||||
@YELP_HELP_RULES@
|
||||
HELP_ID = glchess
|
||||
|
||||
DOC_MODULE = glchess
|
||||
DOC_ENTITIES = legal.xml
|
||||
DOC_INCLUDES =
|
||||
DOC_FIGURES = figures/new_game.png \
|
||||
HELP_MEDIA = figures/new_game.png \
|
||||
figures/game.png \
|
||||
figures/preferences_game.png \
|
||||
figures/preferences_view.png
|
||||
DOC_LINGUAS = ca cs da de el en_GB es eu fr ja ko oc pt_BR ru sl sr sr@latin sv zh_CN
|
||||
|
||||
HELP_FILES = \
|
||||
glchess.xml \
|
||||
legal.xml
|
||||
|
||||
HELP_LINGUAS = ca cs da de el en_GB es eu fr ja ko oc pt_BR ru sl sr sr@latin sv zh_CN
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
||||
|
|
|
@ -1342,7 +1342,7 @@ public class Application : Gtk.Application
|
|||
{
|
||||
try
|
||||
{
|
||||
Gtk.show_uri (window.get_screen (), "ghelp:glchess", Gtk.get_current_event_time ());
|
||||
Gtk.show_uri (window.get_screen (), "help:glchess", Gtk.get_current_event_time ());
|
||||
}
|
||||
catch (Error e)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue