diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-01-30 01:53:38 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-01-30 01:53:38 +0100 |
commit | 8ab79c1e2773540f0188ba33da01fb7fb7a4c7f6 (patch) | |
tree | c6203471bb270b6aa2981e2c016431486626d514 /src/blogc-make/rules.c | |
parent | 306e29bcfa7d963fb4841829227a1e56360bc75d (diff) | |
download | blogc-8ab79c1e2773540f0188ba33da01fb7fb7a4c7f6.tar.gz blogc-8ab79c1e2773540f0188ba33da01fb7fb7a4c7f6.tar.bz2 blogc-8ab79c1e2773540f0188ba33da01fb7fb7a4c7f6.zip |
make: improved clean rule
Diffstat (limited to 'src/blogc-make/rules.c')
-rw-r--r-- | src/blogc-make/rules.c | 4 |
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; } |