summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorZartaj Majeed <zmajeed@sbcglobal.net>2012-12-18 09:50:50 +0000
committerPádraig Brady <P@draigBrady.com>2012-12-19 11:29:12 +0000
commit6cedbca7f95865707d73273a5e06eed4e9a478ec (patch)
tree0efd25467f1d8fde509b10b34811940ae3d9abc5 /doc
parent478d0183bca9e17d30d6d5b9718ae3b4b2c9b8aa (diff)
downloadcoreutils-6cedbca7f95865707d73273a5e06eed4e9a478ec.tar.xz
build: fix cygwin build issues
* doc/local.mk (doc/constants.texi): Ensure the doc directory is present which is needed when doing a non source dir build, when the doc/constants.texi target is built before other doc targets. * src/local.mk: Add $(EXEEXT) to the make-prime-list calls.
Diffstat (limited to 'doc')
-rw-r--r--doc/local.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/local.mk b/doc/local.mk
index 585faf0c3..ad2552882 100644
--- a/doc/local.mk
+++ b/doc/local.mk
@@ -36,6 +36,7 @@ AM_MAKEINFOFLAGS = --no-split
doc/constants.texi: $(top_srcdir)/src/tail.c $(top_srcdir)/src/shred.c
$(AM_V_GEN)LC_ALL=C; export LC_ALL; \
+ $(MKDIR_P) doc && \
{ sed -n -e 's/^#define \(DEFAULT_MAX[_A-Z]*\) \(.*\)/@set \1 \2/p' \
$(top_srcdir)/src/tail.c && \
sed -n -e \