diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2019-05-01 23:21:19 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2019-05-01 23:21:19 +0200 |
commit | 04ade4f784565a2c3070e0457d987468d6201b3e (patch) | |
tree | 66c0b2b247cafebfb1216ccdfd7f8538f970e96a /src/blogc-make/ctx.h | |
parent | 792ac4ec66dd098109a88065420ef95c1a78624f (diff) | |
download | blogc-04ade4f784565a2c3070e0457d987468d6201b3e.tar.gz blogc-04ade4f784565a2c3070e0457d987468d6201b3e.tar.bz2 blogc-04ade4f784565a2c3070e0457d987468d6201b3e.zip |
Revert "make: support posts autoloading"
It works mostly fine, but if you build a website, delete some files and
try to rebuild, it won't be able to detect the removed files. This may
be reverted when I find a solution for this problem.
This reverts commit 792ac4ec66dd098109a88065420ef95c1a78624f.
Diffstat (limited to 'src/blogc-make/ctx.h')
-rw-r--r-- | src/blogc-make/ctx.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/blogc-make/ctx.h b/src/blogc-make/ctx.h index 43284a5..a66d51c 100644 --- a/src/blogc-make/ctx.h +++ b/src/blogc-make/ctx.h @@ -63,10 +63,8 @@ typedef struct { bm_filectx_t *listing_entry_fctx; bc_slist_t *posts_fctx; - bool posts_deleted; bc_slist_t *pages_fctx; bc_slist_t *copy_fctx; - } bm_ctx_t; bm_filectx_t* bm_filectx_new(bm_ctx_t *ctx, const char *filename, const char *slug, @@ -78,7 +76,6 @@ void bm_filectx_free(bm_filectx_t *fctx); bm_ctx_t* bm_ctx_new(bm_ctx_t *base, const char *settings_file, const char *argv0, bc_error_t **err); bool bm_ctx_reload(bm_ctx_t **ctx); -void bm_ctx_autoload_posts(bm_ctx_t *ctx); void bm_ctx_free_internal(bm_ctx_t *ctx); void bm_ctx_free(bm_ctx_t *ctx); const char* bm_ctx_settings_lookup(bm_ctx_t *ctx, const char *key); |