summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qpid/cpp/docs/api/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/cpp/docs/api/Makefile.am b/qpid/cpp/docs/api/Makefile.am
index 63d48c323d..128c17ce9b 100644
--- a/qpid/cpp/docs/api/Makefile.am
+++ b/qpid/cpp/docs/api/Makefile.am
@@ -27,8 +27,9 @@ EXTRA_DIST = html user.doxygen developer.doxygen html.timestamp
html: html.timestamp
+
html.timestamp:
- cp $(srcdir)/header.html $(srcdir)/footer.html .
+ test $(srcdir) = . || cp $(srcdir)/header.html $(srcdir)/footer.html .
doxygen user.doxygen
touch $@