-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
include tumble version in usage message.
- Loading branch information
Showing
2 changed files
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <[email protected]> | ||
# | ||
# 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 | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 <[email protected]> | ||
* | ||
* 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 <[email protected]>\n"); | ||
fprintf (stderr, "tumble version " MAKESTR(TUMBLE_VERSION) " - Copyright 2001-2003 Eric Smith <[email protected]>\n"); | ||
fprintf (stderr, "http://tumble.brouhaha.com/\n"); | ||
fprintf (stderr, "\n"); | ||
fprintf (stderr, "usage:\n"); | ||
|