From c071ac260a24561c889643b7f8df37950a597137 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sun, 30 Apr 2017 17:28:32 +0200 Subject: 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. --- src/blogc-make/ctx.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/blogc-make/ctx.h') 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); -- cgit v1.2.3-18-g5258