1
0
mirror of synced 2026-04-05 05:23:17 +00:00

include tumble version in usage message.

This commit is contained in:
Eric Smith
2003-04-10 09:02:12 +00:00
parent 7e6f49d464
commit 9f01e74221
2 changed files with 10 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
# tumble: build a PDF file from image files
# Makefile
# $Id: Makefile,v 1.40 2003/04/10 00:47:30 eric Exp $
# $Id: Makefile,v 1.41 2003/04/10 01:02:12 eric Exp $
# Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com>
#
# This program is free software; you can redistribute it and/or modify
@@ -85,6 +85,9 @@ AUTO_HDRS = parser.tab.h bitblt_tables.h g4_tables.h
AUTO_MISC = parser.output
CFLAGS := $(CFLAGS) -DTUMBLE_VERSION=$(VERSION)
-include Maketest

View File

@@ -2,7 +2,7 @@
* tumble: build a PDF file from image files
*
* Main program
* $Id: tumble.c,v 1.42 2003/04/10 00:47:30 eric Exp $
* $Id: tumble.c,v 1.43 2003/04/10 01:02:12 eric Exp $
* Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com>
*
* This program is free software; you can redistribute it and/or modify
@@ -62,10 +62,14 @@ char *progname;
bool close_pdf_output_files (void);
#define QMAKESTR(x) #x
#define MAKESTR(x) QMAKESTR(x)
void usage (void)
{
fprintf (stderr, "\n");
fprintf (stderr, "tumble - Copyright 2001-2003 Eric Smith <eric@brouhaha.com>\n");
fprintf (stderr, "tumble version " MAKESTR(TUMBLE_VERSION) " - Copyright 2001-2003 Eric Smith <eric@brouhaha.com>\n");
fprintf (stderr, "http://tumble.brouhaha.com/\n");
fprintf (stderr, "\n");
fprintf (stderr, "usage:\n");