diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-04-30 17:28:32 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-04-30 17:28:32 +0200 |
commit | c071ac260a24561c889643b7f8df37950a597137 (patch) | |
tree | 378d5cd29701c9ff095d8caac0e834f19a059987 /src/blogc-make/ctx.h | |
parent | f3b6c03f21e45edd2220cb6fc996fe4b5fa11bb8 (diff) | |
download | blogc-c071ac260a24561c889643b7f8df37950a597137.tar.gz blogc-c071ac260a24561c889643b7f8df37950a597137.tar.bz2 blogc-c071ac260a24561c889643b7f8df37950a597137.zip |
make: copy rule should support directories, recursively
now any directories listed in the [copy] section of blogcfile will have
its files copied recursively to the output dir. this is useful for big
chunks of generated files, e.g. doxygen documentation.
Diffstat (limited to 'src/blogc-make/ctx.h')
-rw-r--r-- | src/blogc-make/ctx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/blogc-make/ctx.h b/src/blogc-make/ctx.h index 962c029..1c9d8b0 100644 --- a/src/blogc-make/ctx.h +++ b/src/blogc-make/ctx.h @@ -64,6 +64,7 @@ typedef struct { } bm_ctx_t; bm_filectx_t* bm_filectx_new(bm_ctx_t *ctx, const char *filename); +bc_slist_t* bm_filectx_new_r(bc_slist_t *l, bm_ctx_t *ctx, const char *filename); bool bm_filectx_changed(bm_filectx_t *ctx, time_t *tv_sec, long *tv_nsec); void bm_filectx_reload(bm_filectx_t *ctx); void bm_filectx_free(bm_filectx_t *fctx); |