From 2b485906cfa6d2e0431b0fa0120e1c267074b4e8 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sat, 11 Mar 2017 15:58:30 +0100 Subject: make: all builds are "production" by default, enable "dev" on cli. this is more consistent with other similar tools, and enables us to add something like a [copy:dev] section later, that will avoid copying dev files to production builds. --- src/blogc-git-receiver/pre-receive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/blogc-git-receiver') diff --git a/src/blogc-git-receiver/pre-receive.c b/src/blogc-git-receiver/pre-receive.c index 3b05e07..c2fe080 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 -p -V all", + build_cmd = bc_strdup_printf("OUTPUT_DIR=\"%s\" blogc-make -V all", output_dir); } else if ((0 == access("Makefile", F_OK)) || (0 == access("GNUMakefile", F_OK))) { -- cgit v1.2.3-18-g5258