summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Angeletti <octa@polychoron.fr>2018-09-04 09:16:47 +0200
committerFlorian Angeletti <octa@polychoron.fr>2018-09-04 09:16:47 +0200
commit284c8f8bb858009ebba5ab34b3a8ec493bb8f7bf (patch)
tree2e93fd5a9228f2d75d61d964306f8f43852589f6
parent0396ca0edda2a216d3231a409898eb68490f92fd (diff)
downloadocaml-284c8f8bb858009ebba5ab34b3a8ec493bb8f7bf.tar.gz
replace awk by $(AWK) in doc makefiles
-rw-r--r--manual/manual/Makefile2
-rw-r--r--manual/manual/library/Makefile2
-rw-r--r--ocamldoc/Makefile4
3 files changed, 4 insertions, 4 deletions
diff --git a/manual/manual/Makefile b/manual/manual/Makefile
index 052fcb1d28..5cb868f14b 100644
--- a/manual/manual/Makefile
+++ b/manual/manual/Makefile
@@ -8,7 +8,7 @@ OCAMLDOC = $(if $(wildcard $(SRC)/ocamldoc/ocamldoc.opt),\
$(SRC)/ocamldoc/ocamldoc.opt,\
$(SET_LD_PATH) $(SRC)/runtime/ocamlrun $(SRC)/ocamldoc/ocamldoc)\
-hide Stdlib -lib Stdlib -nostdlib \
- -pp "awk -v ocamldoc=true -f $(SRC)/stdlib/expand_module_aliases.awk"
+ -pp "$(AWK) -v ocamldoc=true -f $(SRC)/stdlib/expand_module_aliases.awk"
# Import the list of mli files for the library docs
diff --git a/manual/manual/library/Makefile b/manual/manual/library/Makefile
index 49febb6bc1..07db388ebb 100644
--- a/manual/manual/library/Makefile
+++ b/manual/manual/library/Makefile
@@ -10,7 +10,7 @@ OCAMLDOC = $(if $(wildcard $(CSLDIR)/ocamldoc/ocamldoc.opt),\
$(CSLDIR)/ocamldoc/ocamldoc.opt,\
$(SET_LD_PATH) $(CSLDIR)/runtime/ocamlrun $(CSLDIR)/ocamldoc/ocamldoc) \
-hide Stdlib -lib Stdlib -nostdlib \
- -pp "awk -v ocamldoc=true -f $(SRC)/stdlib/expand_module_aliases.awk"
+ -pp "$(AWK) -v ocamldoc=true -f $(SRC)/stdlib/expand_module_aliases.awk"
#Import mli file lists
diff --git a/ocamldoc/Makefile b/ocamldoc/Makefile
index a46157aa04..214a5e5f97 100644
--- a/ocamldoc/Makefile
+++ b/ocamldoc/Makefile
@@ -406,14 +406,14 @@ stdlib_man/Stdlib.3o: $(OCAMLDOC) $(STDLIB_DEPS)
$(MKDIR) stdlib_man
$(OCAMLDOC_RUN) -man -d stdlib_man -nostdlib $(DOC_INCLUDES) \
-hide Stdlib -lib Stdlib \
- -pp "awk -v ocamldoc=true -f $(SRC)/stdlib/expand_module_aliases.awk" \
+ -pp "$(AWK) -v ocamldoc=true -f $(SRC)/stdlib/expand_module_aliases.awk" \
-t "OCaml library" -man-mini $(STDLIB_MLIS)
stdlib_html/Stdlib.html: $(OCAMLDOC) $(STDLIB_DEPS)
$(MKDIR) stdlib_html
$(OCAMLDOC_RUN) \
-hide Stdlib -lib Stdlib \
- -pp "awk -v ocamldoc=true -f $(SRC)/stdlib/expand_module_aliases.awk" \
+ -pp "$(AWK) -v ocamldoc=true -f $(SRC)/stdlib/expand_module_aliases.awk" \
-d stdlib_html -html -nostdlib $(DOC_INCLUDES) \
-t "OCaml library" $(STDLIB_MLIS)