aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make/rules.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/blogc-make/rules.c')
-rw-r--r--src/blogc-make/rules.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/blogc-make/rules.c b/src/blogc-make/rules.c
index b2416f0..711809a 100644
--- a/src/blogc-make/rules.c
+++ b/src/blogc-make/rules.c
@@ -540,6 +540,10 @@ clean_exec(bm_ctx_t *ctx, bc_slist_t *outputs, bool verbose)
}
}
+ if (!bm_exec_empty_dir(ctx->output_dir, NULL)) {
+ fprintf(stderr, "blogc-make: warning: output directory is not empty!\n");
+ }
+
return rv;
}