diff options
author | David Allsopp <david.allsopp@metastack.com> | 2021-04-30 11:46:30 +0100 |
---|---|---|
committer | David Allsopp <david.allsopp@metastack.com> | 2021-04-30 11:46:30 +0100 |
commit | 04e9f14aece937b019f3b278c4e2963fb2a9efba (patch) | |
tree | 24b066b829d1997544a0e065cae3ae7e23e90068 /api_docgen | |
parent | f31d422285d1e599d406f32ee14f09c162bb5af2 (diff) | |
download | ocaml-04e9f14aece937b019f3b278c4e2963fb2a9efba.tar.gz |
Convert erroneous tabs to whitespace
Diffstat (limited to 'api_docgen')
-rw-r--r-- | api_docgen/Makefile.docfiles | 14 | ||||
-rw-r--r-- | api_docgen/ocamldoc/Makefile | 4 | ||||
-rw-r--r-- | api_docgen/odoc/Makefile | 22 |
3 files changed, 20 insertions, 20 deletions
diff --git a/api_docgen/Makefile.docfiles b/api_docgen/Makefile.docfiles index c027781536..6f0f565f51 100644 --- a/api_docgen/Makefile.docfiles +++ b/api_docgen/Makefile.docfiles @@ -35,24 +35,24 @@ str_MLIS := str.mli unix_MLIS := unix.mli unixLabels.mli dynlink_MLIS := dynlink.mli thread_MLIS := \ - thread.mli condition.mli mutex.mli event.mli \ - threadUnix.mli semaphore.mli + thread.mli condition.mli mutex.mli event.mli \ + threadUnix.mli semaphore.mli STDLIB=$(filter-out stdlib__Pervasives, $(STDLIB_MODULES)) stdlib_UNPREFIXED=$(filter-out pervasives, $(STDLIB_MODULE_BASENAMES)) otherlibref= \ - $(str_MLIS:%.mli=%) \ - $(unix_MLIS:%.mli=%) \ - $(dynlink_MLIS:%.mli=%) \ - $(thread_MLIS:%.mli=%) + $(str_MLIS:%.mli=%) \ + $(unix_MLIS:%.mli=%) \ + $(dynlink_MLIS:%.mli=%) \ + $(thread_MLIS:%.mli=%) libref_EXTRA=stdlib__pervasives libref_TEXT=Ocaml_operators Format_tutorial libref_C=$(call capitalize,$(libref) $(libref_EXTRA)) PARSING_MLIS := $(call sort, \ - $(notdir $(wildcard $(ROOTDIR)/parsing/*.mli))\ + $(notdir $(wildcard $(ROOTDIR)/parsing/*.mli))\ ) UTILS_MLIS := $(call sort,$(notdir $(wildcard $(ROOTDIR)/utils/*.mli))) DRIVER_MLIS := pparse.mli diff --git a/api_docgen/ocamldoc/Makefile b/api_docgen/ocamldoc/Makefile index 0ad2b08038..87cd9cdb85 100644 --- a/api_docgen/ocamldoc/Makefile +++ b/api_docgen/ocamldoc/Makefile @@ -27,8 +27,8 @@ texi: build/texi/stdlib.texi DOC_STDLIB_INCLUDES= $(addprefix -I , $(DOC_STDLIB_DIRS)) DOC_ALL_INCLUDES = \ - $(DOC_STDLIB_INCLUDES) \ - $(addprefix -I ,$(DOC_COMPILERLIBS_DIRS)) + $(DOC_STDLIB_INCLUDES) \ + $(addprefix -I ,$(DOC_COMPILERLIBS_DIRS)) libref=$(stdlib_UNPREFIXED) $(otherlibref) diff --git a/api_docgen/odoc/Makefile b/api_docgen/odoc/Makefile index 4693eb2102..5c22a15b46 100644 --- a/api_docgen/odoc/Makefile +++ b/api_docgen/odoc/Makefile @@ -27,13 +27,13 @@ libref = $(STDLIB) $(otherlibref) # odoc needs a "page-" prefix for a mld documentation file define page_name - $(dir $1)page-$(notdir $1) + $(dir $1)page-$(notdir $1) endef define stdlib_prefix - $(if $(filter-out stdlib camlinternal%,$1),\ - Stdlib.$(call capitalize,$1),\ - $(call capitalize, $1)) + $(if $(filter-out stdlib camlinternal%,$1),\ + Stdlib.$(call capitalize,$1),\ + $(call capitalize, $1)) endef # define the right conditional for the manual @@ -86,9 +86,9 @@ build/compilerlibref/%.odoc: %.cmti $(libref:%=build/libref/%.odoc) \ ALL_TEXT = $(libref_TEXT:%=libref/%) $(compilerlibref_TEXT:%=compilerlibref/%) ALL_PAGE_TEXT=$(foreach mld,$(ALL_TEXT),$(call page_name,$(mld))) TARGET_UNITS= \ - $(compilerlibref:%=compilerlibref/%) \ - libref/stdlib $(otherlibref:%=libref/%) \ - $(addprefix libref/,$(filter camlinternal%,$(STDLIB))) + $(compilerlibref:%=compilerlibref/%) \ + libref/stdlib $(otherlibref:%=libref/%) \ + $(addprefix libref/,$(filter camlinternal%,$(STDLIB))) ALL_UNITS = $(compilerlibref:%=compilerlibref/%) $(libref:%=libref/%) ALL_PAGED_DOC = $(TARGET_UNITS) $(ALL_PAGE_TEXT) @@ -96,11 +96,11 @@ ALL_PAGED_DOC = $(TARGET_UNITS) $(ALL_PAGE_TEXT) # Note that we are using a dependency on the whole phase 1 rather than tracking # the individual file dependencies $(ALL_UNITS:%=build/%.odocl):%.odocl:%.odoc \ - | $(ALL_PAGED_DOC:%=build/%.odoc) + | $(ALL_PAGED_DOC:%=build/%.odoc) $(odoc) link -I build/libref -I build/compilerlibref $< $(ALL_PAGE_TEXT:%=build/%.odocl):%.odocl:%.odoc \ - | $(ALL_PAGED_DOC:%=build/%.odoc) + | $(ALL_PAGED_DOC:%=build/%.odoc) $(odoc) link -I build/libref -I build/compilerlibref $< # Rules for all three backends: @@ -134,8 +134,8 @@ $(build/libref.html.stamp build/compilerlibref.html.stamp): # The stdlib index is generated from the list of stdlib modules. stdlib_INDEX=\ - $(foreach m,$(stdlib_UNPREFIXED),$(call stdlib_prefix,$m))\ - $(call capitalize, $(otherlibref)) + $(foreach m,$(stdlib_UNPREFIXED),$(call stdlib_prefix,$m))\ + $(call capitalize, $(otherlibref)) build/libref.mld: echo {0 OCaml standard library} {!modules:$(stdlib_INDEX)} > $@ |