aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make/ctx.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2017-03-04 01:14:00 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2017-03-04 01:29:43 +0100
commit8c320bfe295ac1cbd1833d7fba5c54a325875add (patch)
tree88589ebb027a1cb7ba1e700d5ac3aa01304fd5ec /src/blogc-make/ctx.c
parent4c00812c31dfa42183c8b6586ccf102a6d65f61c (diff)
downloadblogc-feature/runserver-lighttpd.tar.gz
blogc-feature/runserver-lighttpd.tar.bz2
blogc-feature/runserver-lighttpd.zip
make: implemented lighttpd support to runserver rulefeature/runserver-lighttpd
Diffstat (limited to 'src/blogc-make/ctx.c')
-rw-r--r--src/blogc-make/ctx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/blogc-make/ctx.c b/src/blogc-make/ctx.c
index 62b40b8..0aaf472 100644
--- a/src/blogc-make/ctx.c
+++ b/src/blogc-make/ctx.c
@@ -143,6 +143,7 @@ bm_ctx_new(bm_ctx_t *base, const char *settings_file, const char *argv0,
rv->blogc = bm_exec_find_binary(argv0, "blogc", "BLOGC");
rv->blogc_runserver = bm_exec_find_binary(argv0, "blogc-runserver",
"BLOGC_RUNSERVER");
+ rv->lighttpd = bm_exec_find_binary(argv0, "lighttpd", "LIGHTTPD");
rv->verbose = false;
}
else {
@@ -290,5 +291,6 @@ bm_ctx_free(bm_ctx_t *ctx)
bm_ctx_free_internal(ctx);
free(ctx->blogc);
free(ctx->blogc_runserver);
+ free(ctx->lighttpd);
free(ctx);
}