Add the bzr version number to non release builds
[onak.git] / gpgwww.c
index 7d90a00332f585fc4be843af4ea73bfcb83f02ea..f087123e65d58a2479766b349b79695cea06ecb2 100644 (file)
--- a/gpgwww.c
+++ b/gpgwww.c
@@ -14,7 +14,6 @@
 #include "armor.h"
 #include "charfuncs.h"
 #include "cleanup.h"
-#include "config.h"
 #include "getcgi.h"
 #include "hash.h"
 #include "keydb.h"
@@ -23,6 +22,7 @@
 #include "onak-conf.h"
 #include "parsekey.h"
 #include "stats.h"
+#include "version.h"
 
 #define OP_UNKNOWN 0
 #define OP_GET     1
@@ -190,7 +190,7 @@ int main(int argc, char *argv[])
 
        if (op != OP_GET) {
                puts("<HR>");
-               puts("Produced by gpgwww " PACKAGE_VERSION ", part of onak. "
+               puts("Produced by gpgwww " ONAK_VERSION ", part of onak. "
                        "<A HREF=\"mailto:noodles-onak@earth.li\">"
                        "Jonathan McDowell</A>");
                end_html();