Skip to content

Commit

Permalink
include tumble version in usage message.
Browse files Browse the repository at this point in the history
  • Loading branch information
brouhaha committed Apr 10, 2003
1 parent 7e6f49d commit 9f01e74
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Makefile
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
Expand Down Expand Up @@ -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


Expand Down
8 changes: 6 additions & 2 deletions tumble.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit 9f01e74

Please sign in to comment.