[Ninja] Fix build system self-destructing on clean
Compare changes
+ 69
− 40
@@ -185,8 +185,10 @@
@@ -393,12 +395,31 @@
@@ -412,28 +433,34 @@
@@ -546,6 +573,14 @@ function(dune_instance_from_id file_spec id template_var instance_var)
@@ -557,6 +592,10 @@ function(dune_instance_set_generated)
@@ -671,17 +710,10 @@ function(dune_instance_generate_file TEMPLATE INSTANCE)
@@ -690,8 +722,8 @@ function(dune_instance_generate_file TEMPLATE INSTANCE)
@@ -826,10 +858,12 @@ function(dune_instance_add)
@@ -855,9 +889,11 @@ function(dune_instance_end)
@@ -874,19 +910,12 @@ function(dune_instance_end)