summaryrefslogtreecommitdiff
path: root/libusb/version.h
diff options
context:
space:
mode:
authorPete Batard <pete@akeo.ie>2012-05-10 15:56:51 +0100
committerPete Batard <pete@akeo.ie>2012-05-10 15:56:51 +0100
commita221271c67414ad5372431dced352fc2b1e15cbc (patch)
treed478296fd62f6ccc4bf35a6c6dece525295703cc /libusb/version.h
parent7e52e1e7534ead3f66b13bdcb28ac8587ff47ab0 (diff)
downloadlibusb-a221271c67414ad5372431dced352fc2b1e15cbc.tar.gz
Misc: Separate nano from version.h
* As version.h processed by autotools, the automatic updating of the nano there can result in unneeded reconfs (eg. after issuing a git pull, regardless of whether the conf is still valid) * Avoid this by placing the nano in its own file, as it won't be processed by autoconf. This also simplifies the versioning git hooks and removes the sed dependency.
Diffstat (limited to 'libusb/version.h')
-rw-r--r--libusb/version.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libusb/version.h b/libusb/version.h
index a31d435..4a6d028 100644
--- a/libusb/version.h
+++ b/libusb/version.h
@@ -1,4 +1,5 @@
/* This file is parsed by m4 and windres and RC.EXE so please keep it simple. */
+#include "version_nano.h"
#ifndef LIBUSB_MAJOR
#define LIBUSB_MAJOR 1
#endif
@@ -9,7 +10,7 @@
#define LIBUSB_MICRO 11
#endif
#ifndef LIBUSB_NANO
-#define LIBUSB_NANO 10502
+#define LIBUSB_NANO 0
#endif
/* LIBUSB_RC is the release candidate suffix. Should normally be empty. */
#ifndef LIBUSB_RC