aboutsummaryrefslogtreecommitdiffstats
path: root/docbook
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2014-08-04 19:08:05 -0400
committerJeff Morriss <jeff.morriss.ws@gmail.com>2014-08-06 17:24:46 +0000
commit7bf2f2edfd23f837f33cef298b2bc1505074b0ee (patch)
tree440ba55626a991d6326839f5d0550f594113e084 /docbook
parent2c7976183c8635b1f92589d9408cffb1575be5b6 (diff)
Support building the NEWS file in out-of-source-tree builds.
Copy the built file into the source directory (since it's generated but checked in). Don't fail to build, though, if we can't do that copy. Change-Id: Ia94a19b6f813ee78b191cd09d51198462f95b223 Reviewed-on: https://code.wireshark.org/review/3425 Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
Diffstat (limited to 'docbook')
-rw-r--r--docbook/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/docbook/Makefile.am b/docbook/Makefile.am
index 592e9e5a35..1d364a0442 100644
--- a/docbook/Makefile.am
+++ b/docbook/Makefile.am
@@ -263,7 +263,8 @@ release-notes.txt: $(RELEASE_NOTES_SOURCE)
mv $(srcdir)/release-notes.text $@
news: release-notes.txt
- cp $(srcdir)/release-notes.txt ../NEWS
+ cp release-notes.txt ../NEWS
+ -cp release-notes.txt $(top_srcdir)NEWS
# Apparently we can only run one instance of a2x at a time.
.NOTPARALLEL: release-notes-us.pdf release-notes-a4.pdf