summaryrefslogtreecommitdiff
path: root/ocamldoc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ocamldoc/Makefile')
-rw-r--r--ocamldoc/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/ocamldoc/Makefile b/ocamldoc/Makefile
index ef8a3e0a31..f763dad566 100644
--- a/ocamldoc/Makefile
+++ b/ocamldoc/Makefile
@@ -36,7 +36,7 @@ OCAMLDOC_OPT=$(OCAMLDOC).opt
OCAMLDOC_LIBCMA=odoc_info.cma
OCAMLDOC_LIBCMI=odoc_info.cmi
OCAMLDOC_LIBCMXA=odoc_info.cmxa
-OCAMLDOC_LIBA=odoc_info.a
+OCAMLDOC_LIBA=odoc_info.$(A)
INSTALL_LIBDIR=$(OCAMLLIB)/ocamldoc
INSTALL_CUSTOMDIR=$(INSTALL_LIBDIR)/custom
INSTALL_BINDIR=$(OCAMLBIN)
@@ -126,7 +126,7 @@ EXECMOFILES=$(CMOFILES) \
odoc_texi.cmo \
odoc_dot.cmo \
odoc_gen.cmo \
- odoc_args.cmo\
+ odoc_args.cmo \
odoc.cmo
EXECMXFILES= $(EXECMOFILES:.cmo=.cmx)
@@ -352,12 +352,12 @@ autotest_stdlib: dummy
clean:: dummy
@rm -f *~ \#*\#
- @rm -f $(OCAMLDOC) $(OCAMLDOC_OPT) *.cma *.cmxa *.cmo *.cmi *.cmx *.a *.o
+ @rm -f $(OCAMLDOC) $(OCAMLDOC_OPT) *.cma *.cmxa *.cmo *.cmi *.cmx *.$(A) *.$(O)
@rm -f odoc_parser.output odoc_text_parser.output
@rm -f odoc_lexer.ml odoc_text_lexer.ml odoc_see_lexer.ml odoc_ocamlhtml.ml
@rm -f odoc_parser.ml odoc_parser.mli odoc_text_parser.ml odoc_text_parser.mli
@rm -rf stdlib_man
- @rm -f generators/*.cm[aiox] generators/*.[ao] generators/*.cmx[as]
+ @rm -f generators/*.cm[aiox] generators/*.$(A) generators/*.$(O) generators/*.cmx[as]
depend::
$(OCAMLYACC) odoc_text_parser.mly