Ensure it works with make distcheck
# Optionally build documentation bits
if VIKING_DOC
- DO_DOCS = "help doc"
+ DO_DOCS = "doc"
endif
-SUBDIRS = src test data po win32 $(DO_DOCS)
+SUBDIRS = src test data po win32 help $(DO_DOCS)
INTLTOOL = \
intltool-extract.in \
po/Makefile.in
data/Makefile
test/Makefile
+ help/Makefile
win32/Makefile
win32/installer/Makefile
win32/installer/pixmaps/Makefile
win32/installer/translations/Makefile])
AM_COND_IF([VIKING_DOC],
[AC_CONFIG_FILES([
- help/Makefile
doc/Makefile
doc/reference/Makefile
doc/examples/Makefile])])
# 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