Skip to content

Commit e9ffcf8

Browse files
authored
flambda-backend: Fix dependencies for regenerating Flambda2 parser, tests (ocaml-flambda#1255)
1 parent 6f1cd1f commit e9ffcf8

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

Makefile.common-jst

+10-5
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,16 @@ duneconf/%.ws:
9595
$(ocamldir)/duneconf/dirs-to-ignore.inc:
9696
echo "(data_only_dirs yacc $(ocaml_subdirs_to_ignore))" > $@
9797

98-
_build/_bootinstall: Makefile.config duneconf/boot.ws duneconf/runtime_stdlib.ws duneconf/main.ws \
99-
$(ocamldir)/duneconf/dirs-to-ignore.inc \
100-
$(ocamldir)/duneconf/jst-extra.inc \
101-
dune-project
102-
98+
# Targets that should be prerequisites to any target that runs Dune
99+
dune_config_targets = \
100+
duneconf/boot.ws \
101+
duneconf/runtime_stdlib.ws \
102+
duneconf/main.ws \
103+
$(ocamldir)/duneconf/dirs-to-ignore.inc \
104+
$(ocamldir)/duneconf/jst-extra.inc \
105+
dune-project
106+
107+
_build/_bootinstall: Makefile.config $(dune_config_targets)
103108
echo -n '$(NATDYNLINKOPTS)' > $(ocamldir)/otherlibs/dynlink/natdynlinkops
104109

105110
# flags.sexp

0 commit comments

Comments
 (0)