all: Add a common lib version too.
This commit is contained in:
parent
7177b142e0
commit
6c0e25ae4b
|
@ -28,6 +28,8 @@
|
|||
#include <libusb-1.0/libusb.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#define BACKEND_VERSION "0.1"
|
||||
|
||||
#define STR_LEN_MAX 64
|
||||
#define DEBUG( ... ) fprintf(stderr, "DEBUG: " __VA_ARGS__ )
|
||||
#define DEBUG2( ... ) fprintf(stderr, __VA_ARGS__ )
|
||||
|
|
|
@ -212,7 +212,7 @@ int main (int argc, char **argv)
|
|||
uint8_t rdbuf[READBACK_LEN], rdbuf2[READBACK_LEN];
|
||||
int last_state = -1, state = S_IDLE;
|
||||
|
||||
DEBUG("Kodak 1400 CUPS backend version " VERSION " \n");
|
||||
DEBUG("Kodak 1400 CUPS backend version " VERSION "/" BACKEND_VERSION " \n");
|
||||
|
||||
/* Cmdline help */
|
||||
if (argc < 2) {
|
||||
|
|
|
@ -135,7 +135,7 @@ int main (int argc, char **argv)
|
|||
uint8_t rdbuf2[READBACK_LEN];
|
||||
int last_state = -1, state = S_IDLE;
|
||||
|
||||
DEBUG("Kodak 6800 CUPS backend version " VERSION " \n");
|
||||
DEBUG("Kodak 6800 CUPS backend version " VERSION "/" BACKEND_VERSION " \n");
|
||||
|
||||
/* Cmdline help */
|
||||
if (argc < 2) {
|
||||
|
|
|
@ -494,7 +494,7 @@ int main (int argc, char **argv)
|
|||
/* Static initialization */
|
||||
setup_paper_codes();
|
||||
|
||||
DEBUG("Canon SELPHY ES/CP CUPS backend version " VERSION " \n");
|
||||
DEBUG("Canon SELPHY ES/CP CUPS backend version " VERSION "/" BACKEND_VERSION " \n");
|
||||
|
||||
/* Cmdline help */
|
||||
if (argc < 2) {
|
||||
|
|
Loading…
Reference in a new issue