diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-03-11 15:58:30 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-03-11 15:58:30 +0100 |
commit | 2b485906cfa6d2e0431b0fa0120e1c267074b4e8 (patch) | |
tree | 152720e5925a6f772fc8275c32bd3976f8943a25 /src/blogc-git-receiver/pre-receive.c | |
parent | acf14b6fafd39e46ba343fd069bed205d7c35fb9 (diff) | |
download | blogc-2b485906cfa6d2e0431b0fa0120e1c267074b4e8.tar.gz blogc-2b485906cfa6d2e0431b0fa0120e1c267074b4e8.tar.bz2 blogc-2b485906cfa6d2e0431b0fa0120e1c267074b4e8.zip |
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.
Diffstat (limited to 'src/blogc-git-receiver/pre-receive.c')
-rw-r--r-- | src/blogc-git-receiver/pre-receive.c | 2 |
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 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))) { |