include tumble version in usage message.
This commit is contained in:
5
Makefile
5
Makefile
@@ -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
|
||||
|
||||
|
||||
|
||||
8
tumble.c
8
tumble.c
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user