diff --git a/backend_common.c b/backend_common.c index 890a0b9..ea59d5b 100644 --- a/backend_common.c +++ b/backend_common.c @@ -28,6 +28,8 @@ #include #include +#define BACKEND_VERSION "0.1" + #define STR_LEN_MAX 64 #define DEBUG( ... ) fprintf(stderr, "DEBUG: " __VA_ARGS__ ) #define DEBUG2( ... ) fprintf(stderr, __VA_ARGS__ ) diff --git a/kodak1400_print.c b/kodak1400_print.c index a8f5909..451ebea 100644 --- a/kodak1400_print.c +++ b/kodak1400_print.c @@ -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) { diff --git a/kodak6800_print.c b/kodak6800_print.c index 8fd8d68..4f5571b 100644 --- a/kodak6800_print.c +++ b/kodak6800_print.c @@ -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) { diff --git a/selphy_print.c b/selphy_print.c index 8e2dae9..d0fbdbb 100644 --- a/selphy_print.c +++ b/selphy_print.c @@ -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) {