summaryrefslogtreecommitdiff
path: root/c-sources
diff options
context:
space:
mode:
authorWill Thompson <will@willthompson.co.uk>2012-04-05 09:04:10 +0100
committerWill Thompson <will@willthompson.co.uk>2012-04-05 09:04:10 +0100
commit22cd03a059ef21906b6a7e08dd051e4419970bc6 (patch)
tree224a3b21f1395e1cfd0d1b5a8a4596aeb1bfff3c /c-sources
parent6fcccc514359eb6156ce1b58373a9202c9186980 (diff)
Include bustle-pcap.1 in binary tarballs.
And while we're here, un-hardcode the version number from bustle-pcap.c, because I *know* I will forget to update it. :)
Diffstat (limited to 'c-sources')
-rw-r--r--c-sources/bustle-pcap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/c-sources/bustle-pcap.c b/c-sources/bustle-pcap.c
index b65d1ad..cadeca6 100644
--- a/c-sources/bustle-pcap.c
+++ b/c-sources/bustle-pcap.c
@@ -24,6 +24,7 @@
#include <gio/gunixinputstream.h>
#include "pcap-monitor.h"
+#include "version.h"
static gboolean verbose = FALSE;
static gboolean quiet = FALSE;
@@ -123,7 +124,7 @@ parse_arguments (
if (version)
{
- fprintf (stdout, "bustle-pcap 0.4.0\n\n");
+ fprintf (stdout, "bustle-pcap " BUSTLE_VERSION "\n\n");
fprintf (stdout, "Copyright 2011 Will Thompson <will.thompson@collabora.co.uk>\n");
fprintf (stdout, "This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n");
fprintf (stdout, "Written by Will Thompson <will.thompson@collabora.co.uk>\n");