aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-git-receiver/pre-receive.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2017-03-06 21:38:41 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2017-03-07 01:30:54 +0100
commitd41c2fcdd9366fb3f1fcb11aceed919bfebbed61 (patch)
tree1081416126a9bff58857ade5984e5e3b9b45a487 /src/blogc-git-receiver/pre-receive.c
parentab1120742467f887b33cd89addf3c89b5f9bf5b6 (diff)
downloadblogc-d41c2fcdd9366fb3f1fcb11aceed919bfebbed61.tar.gz
blogc-d41c2fcdd9366fb3f1fcb11aceed919bfebbed61.tar.bz2
blogc-d41c2fcdd9366fb3f1fcb11aceed919bfebbed61.zip
make: add support to "production" builds
this is used by blogc-github-lambda and blogc-git-receiver.
Diffstat (limited to 'src/blogc-git-receiver/pre-receive.c')
-rw-r--r--src/blogc-git-receiver/pre-receive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blogc-git-receiver/pre-receive.c b/src/blogc-git-receiver/pre-receive.c
index c2fe080..3b05e07 100644
--- a/src/blogc-git-receiver/pre-receive.c
+++ b/src/blogc-git-receiver/pre-receive.c
@@ -202,7 +202,7 @@ bgr_pre_receive_hook(int argc, char *argv[])
rv = 3;
goto cleanup;
}
- build_cmd = bc_strdup_printf("OUTPUT_DIR=\"%s\" blogc-make -V all",
+ build_cmd = bc_strdup_printf("OUTPUT_DIR=\"%s\" blogc-make -p -V all",
output_dir);
}
else if ((0 == access("Makefile", F_OK)) || (0 == access("GNUMakefile", F_OK))) {