]> git.street.me.uk Git - andy/viking.git/blobdiff - help/Makefile.am
[QA] Enumerate and use VikLayerWidgetType
[andy/viking.git] / help / Makefile.am
index b1815b4dd457ab73dfb9c7d37fad56ad61743c86..993e6717b3870d3bfe79681b5ab784716b4f78d4 100644 (file)
@@ -1,10 +1,18 @@
 include $(top_srcdir)/gnome-doc-utils.make
-dist-hook: doc-dist-hook
 
-DOC_MODULE = viking
-DOC_ENTITIES = legal.xml
-DOC_INCLUDES = 
-DOC_FIGURES = #figures/gnome-hello.png
+# 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/
+# '-' ^^^^^ means it doesn't care about the exit status
+#  this copy statement is not critical (especially when run under make distcheck)
 
-DOC_LINGUAS = 
+dist-hook: get-icons doc-dist-hook
 
+DOC_MODULE = viking
+DOC_ENTITIES = legal.xml
+DOC_INCLUDES =
+DOC_FIGURES = figures/*.png figures/*.jpg
+DOC_LINGUAS =