changed program name to "t2p"

Wed, 30 Jan 2002 08:55:53 +0000

author
eric
date
Wed, 30 Jan 2002 08:55:53 +0000
changeset 44
0f78374addae
parent 43
b80cb5a4282a
child 45
23ef95d6ff07

changed program name to "t2p"

Makefile file | annotate | diff | revisions
semantics.c file | annotate | diff | revisions
t2p.c file | annotate | diff | revisions
tumble.c file | annotate | diff | revisions
     1.1 --- a/Makefile	Tue Jan 22 09:42:42 2002 +0000
     1.2 +++ b/Makefile	Wed Jan 30 08:55:53 2002 +0000
     1.3 @@ -1,6 +1,6 @@
     1.4 -# tiff2pdf: build a PDF file out of one or more TIFF Class F Group 4 files
     1.5 +# t2p: build a PDF file out of one or more TIFF Class F Group 4 files
     1.6  # Makefile
     1.7 -# $Id: Makefile,v 1.8 2002/01/22 01:41:12 eric Exp $
     1.8 +# $Id: Makefile,v 1.9 2002/01/30 00:55:53 eric Exp $
     1.9  # Copyright 2001 Eric Smith <eric@brouhaha.com>
    1.10  #
    1.11  # This program is free software; you can redistribute it and/or modify
    1.12 @@ -24,23 +24,27 @@
    1.13  YACC = bison
    1.14  YFLAGS = -d -v
    1.15  
    1.16 -SRCS = bitblt.c bitblt_test.c tiff2pdf.c semantics.c
    1.17 -HDRS = type.h bitblt.h tiff2pdf.h semantics.h
    1.18 +SRCS = bitblt.c bitblt_test.c t2p.c semantics.c
    1.19 +HDRS = type.h bitblt.h t2p.h semantics.h
    1.20  MISC = Makefile scanner.l parser.y
    1.21  
    1.22 -TARGETS = tiff2pdf bitblt_test
    1.23 +TARGETS = t2p bitblt_test
    1.24  
    1.25  AUTO_SRCS = scanner.c parser.tab.c
    1.26  AUTO_HDRS = parser.tab.h
    1.27  AUTO_MISC = parser.output
    1.28  
    1.29 -tiff2pdf: tiff2pdf.o scanner.o semantics.o parser.tab.o bitblt.o
    1.30 +t2p: t2p.o scanner.o semantics.o parser.tab.o bitblt.o
    1.31  
    1.32  bitblt_test: bitblt_test.o bitblt.o
    1.33  
    1.34  
    1.35  clean:
    1.36 -	rm -f *.o *.d $(TARGETS) $(AUTO_SRCS) $(AUTO_HDRS) $(AUTO_MISC) 
    1.37 +	rm -f *.o *.d $(TARGETS) $(AUTO_SRCS) $(AUTO_HDRS) $(AUTO_MISC)
    1.38 +
    1.39 +very_clean:
    1.40 +	rm -f *.o *.d $(TARGETS) $(AUTO_SRCS) $(AUTO_HDRS) $(AUTO_MISC) \
    1.41 +		*~ *.pdf
    1.42  
    1.43  wc:
    1.44  	wc -l $(SRCS) $(HDRS) $(MISC)
     2.1 --- a/semantics.c	Tue Jan 22 09:42:42 2002 +0000
     2.2 +++ b/semantics.c	Wed Jan 30 08:55:53 2002 +0000
     2.3 @@ -5,7 +5,7 @@
     2.4  #include "type.h"
     2.5  #include "semantics.h"
     2.6  #include "parser.tab.h"
     2.7 -#include "tiff2pdf.h"
     2.8 +#include "t2p.h"
     2.9  
    2.10  
    2.11  typedef struct
     3.1 --- a/t2p.c	Tue Jan 22 09:42:42 2002 +0000
     3.2 +++ b/t2p.c	Wed Jan 30 08:55:53 2002 +0000
     3.3 @@ -1,11 +1,10 @@
     3.4  /*
     3.5 - * tiff2pdf: Create a PDF file from the contents of one or more
     3.6 - *           TIFF bilevel image files.  The images in the resulting
     3.7 - *           PDF file will be compressed using ITU-T T.6 (G4) fax
     3.8 - *           encoding.
     3.9 + * t2p: Create a PDF file from the contents of one or more TIFF
    3.10 + *      bilevel image files.  The images in the resulting PDF file
    3.11 + *      will be compressed using ITU-T T.6 (G4) fax encoding.
    3.12   *
    3.13   * Main program
    3.14 - * $Id: t2p.c,v 1.15 2002/01/22 01:42:42 eric Exp $
    3.15 + * $Id: t2p.c,v 1.16 2002/01/30 00:55:34 eric Exp $
    3.16   * Copyright 2001 Eric Smith <eric@brouhaha.com>
    3.17   *
    3.18   * This program is free software; you can redistribute it and/or modify
    3.19 @@ -21,8 +20,7 @@
    3.20   *
    3.21   * You should have received a copy of the GNU General Public License
    3.22   * along with this program; if not, write to the Free Software
    3.23 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111  USA
    3.24 - */
    3.25 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA */
    3.26  
    3.27  
    3.28  #include <stdio.h>
    3.29 @@ -36,7 +34,7 @@
    3.30  #include "bitblt.h"
    3.31  #include "semantics.h"
    3.32  #include "parser.tab.h"
    3.33 -#include "tiff2pdf.h"
    3.34 +#include "t2p.h"
    3.35  
    3.36  
    3.37  #define POINTS_PER_INCH 72
    3.38 @@ -255,7 +253,7 @@
    3.39    panda_page *page;
    3.40  
    3.41    int tiff_temp_fd;
    3.42 -  char tiff_temp_fn [] = "/var/tmp/tiff2pdf-XXXXXX\0";
    3.43 +  char tiff_temp_fn [] = "/var/tmp/t2p-XXXXXX\0";
    3.44    TIFF *tiff_temp;
    3.45    
    3.46    char pagesize [26];  /* Needs to hold two ints of four characters (0..3420),
     4.1 --- a/tumble.c	Tue Jan 22 09:42:42 2002 +0000
     4.2 +++ b/tumble.c	Wed Jan 30 08:55:53 2002 +0000
     4.3 @@ -1,11 +1,10 @@
     4.4  /*
     4.5 - * tiff2pdf: Create a PDF file from the contents of one or more
     4.6 - *           TIFF bilevel image files.  The images in the resulting
     4.7 - *           PDF file will be compressed using ITU-T T.6 (G4) fax
     4.8 - *           encoding.
     4.9 + * t2p: Create a PDF file from the contents of one or more TIFF
    4.10 + *      bilevel image files.  The images in the resulting PDF file
    4.11 + *      will be compressed using ITU-T T.6 (G4) fax encoding.
    4.12   *
    4.13   * Main program
    4.14 - * $Id: tumble.c,v 1.15 2002/01/22 01:42:42 eric Exp $
    4.15 + * $Id: tumble.c,v 1.16 2002/01/30 00:55:34 eric Exp $
    4.16   * Copyright 2001 Eric Smith <eric@brouhaha.com>
    4.17   *
    4.18   * This program is free software; you can redistribute it and/or modify
    4.19 @@ -21,8 +20,7 @@
    4.20   *
    4.21   * You should have received a copy of the GNU General Public License
    4.22   * along with this program; if not, write to the Free Software
    4.23 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111  USA
    4.24 - */
    4.25 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA */
    4.26  
    4.27  
    4.28  #include <stdio.h>
    4.29 @@ -36,7 +34,7 @@
    4.30  #include "bitblt.h"
    4.31  #include "semantics.h"
    4.32  #include "parser.tab.h"
    4.33 -#include "tiff2pdf.h"
    4.34 +#include "t2p.h"
    4.35  
    4.36  
    4.37  #define POINTS_PER_INCH 72
    4.38 @@ -255,7 +253,7 @@
    4.39    panda_page *page;
    4.40  
    4.41    int tiff_temp_fd;
    4.42 -  char tiff_temp_fn [] = "/var/tmp/tiff2pdf-XXXXXX\0";
    4.43 +  char tiff_temp_fn [] = "/var/tmp/t2p-XXXXXX\0";
    4.44    TIFF *tiff_temp;
    4.45    
    4.46    char pagesize [26];  /* Needs to hold two ints of four characters (0..3420),