From 7a14b2703e67bd2a41b8628d7a74122588065e18 Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Fri, 4 Oct 2013 21:22:02 -0700 Subject: Use AC_CONFIG_LINKS to copy file into builddir Instead of a hacky blah: blah.in cp $< $@ rule. Also, a stamp file turns out to be necessary for building documentation if it is included in the distribution; if an up-to-date copy of the documentation is unpacked into the source tree during make distcheck, then it does not get remade in the build directory because it is up-to-date. That causes make distcheck to fail later on, because it can't copy the documentation from the build tree into the dist tree. [endlessm/eos-sdk#340] --- docs/reference/webhelper/Makefile.am.inc | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'docs/reference') diff --git a/docs/reference/webhelper/Makefile.am.inc b/docs/reference/webhelper/Makefile.am.inc index d4a2c05..3b47e19 100644 --- a/docs/reference/webhelper/Makefile.am.inc +++ b/docs/reference/webhelper/Makefile.am.inc @@ -1,20 +1,14 @@ if ENABLE_JS_DOC -# This is for moving eos.css into the NaturalDocs project dir, which is in the -# build tree rather than the source tree. -docs/reference/webhelper/eos.css: docs/reference/webhelper/eos.css.in - $(AM_V_GEN)$(MKDIR_P) $(@D) - cp $< $@ - build_naturaldocs_verbose = $(build_naturaldocs_verbose_@AM_V@) build_naturaldocs_verbose_ = $(build_naturaldocs_verbose_@AM_DEFAULT_V@) build_naturaldocs_verbose_0 = @echo ' DOC Building WebHelper docs'; -docs/reference/webhelper/html/index.html: webhelper/webhelper.js docs/reference/webhelper/eos.css - $(build_naturaldocs_verbose)$(MKDIR_P) $(@D) && \ - naturaldocs -i $(