Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-02-10 07:26:19 +0300
committerMike Frysinger <vapier@gentoo.org>2022-02-10 07:26:19 +0300
commit5c21b3721475c0d848b567837b4459cffcf0ca13 (patch)
tree9950864eb4e588d1c11bfb0daef66298d8931e65 /newlib/doc
parent006da84337d31354b2f8ed21039b5a8bbc579b9b (diff)
newlib: fix mkdoc dependencies
Make sure we depend on the right name of mkdoc all the time, and that the rules that need it (e.g. .def files) depend on it. Reported-by: Jon Turney <jon.turney@dronecode.org.uk>
Diffstat (limited to 'newlib/doc')
-rw-r--r--newlib/doc/local.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/doc/local.mk b/newlib/doc/local.mk
index 15c43f225..de1dd1f2b 100644
--- a/newlib/doc/local.mk
+++ b/newlib/doc/local.mk
@@ -1,8 +1,8 @@
-# We can't use noinst_PROGRAMS, because automake will add $(EXEEXT).
-noinst_DATA += doc/makedoc
-
MKDOC = doc/makedoc$(EXEEXT_FOR_BUILD)
+# We can't use noinst_PROGRAMS, because automake will add $(EXEEXT).
+noinst_DATA += $(MKDOC)
+
# We don't use CFLAGS with CC_FOR_BUILD because here CFLAGS will
# actually be CFLAGS_FOR_TARGET, and in some cases that will include
# -Os, which CC_FOR_BUILD may not recognize.