summaryrefslogtreecommitdiffstats
path: root/src/blogc-make/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/blogc-make/main.c')
-rw-r--r--src/blogc-make/main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/blogc-make/main.c b/src/blogc-make/main.c
index 5d3f686..7007c1a 100644
--- a/src/blogc-make/main.c
+++ b/src/blogc-make/main.c
@@ -14,6 +14,10 @@
#include "ctx.h"
#include "rules.h"
+#ifndef PACKAGE_VERSION
+#define PACKAGE_VERSION "Unknown"
+#endif
+
static void
print_help(void)
@@ -70,7 +74,7 @@ main(int argc, char **argv)
print_help();
goto cleanup;
case 'v':
- printf("%s\n", PACKAGE_STRING);
+ printf("blogc " PACKAGE_VERSION "\n");
goto cleanup;
case 'D':
dev = true;