#  'cbb' -- Check Book Balancer
#           Makefile
#
#  Written by Curtis Olson.  Started August 25, 1994.
#
#  Copyright (C) 1994  Curtis L. Olson  - curt@sledge.mn.org
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# $Id: Makefile,v 1.19 1995/02/23 05:10:04 curt Exp $
# (Log is kept at end of this file)


TAR = tar


install: help.tk
	perl install.pl


help.tk: cbb-man.tex
	tclsh latex2tkhlp cbb-man.tex help.tk


cbb-man.dvi: cbb-man.tex
	latex cbb-man.tex
	echo Running twice to make sure references are right.
	latex cbb-man.tex


cbb-man.ps: cbb-man.dvi
	dvips cbb-man.dvi


tar: cbb-man.ps
	chmod 644 cbb engine.pl install.pl
	( cd ..; \
	$(TAR) cvf cbb-0.53a.tar cbb-0.53a/Announce cbb-0.53a/Bugs \
		cbb-0.53a/COPYING \
		cbb-0.53a/FAQ cbb-0.53a/Makefile \
		cbb-0.53a/README cbb-0.53a/THANKS cbb-0.53a/Todo \
		cbb-0.53a/Version cbb-0.53a/author.xbm \
		cbb-0.53a/categories.pl cbb-0.53a/categories.tk cbb-0.53a/cbb \
		cbb-0.53a/cbb-man.ps cbb-0.53a/cbb-man.tex cbb-0.53a/cbb.xbm \
		cbb-0.53a/common.pl \
		cbb-0.53a/contrib \
		cbb-0.53a/csh.src cbb-0.53a/default.cat \
		cbb-0.53a/engine.pl cbb-0.53a/export.pl \
		cbb-0.53a/fullpage.sty cbb-0.53a/import.pl \
		cbb-0.53a/install.pl cbb-0.53a/latex2tkhlp cbb-0.53a/log.pl \
		cbb-0.53a/memorized.pl cbb-0.53a/old-demo.cbb \
		cbb-0.53a/req-specs cbb-0.53a/rep-txn-by-cat.pl \
		cbb-0.53a/rep-txn-list.pl cbb-0.53a/reports.pl \
		cbb-0.53a/reports.tk cbb-0.53a/wrapper.pl)

tar-all:
	chmod 755 cbb engine.pl install.pl
	( cd ..; $(TAR) cvf cbb-0.53a-all.tar cbb-0.53a )


# $Log: Makefile,v $
# Revision 1.19  1995/02/23  05:10:04  curt
# Moved yearend.pl -> contrib directory
#
# Revision 1.18  1995/02/23  04:55:50  curt
# Added yearend.pl to tar command
#
# Revision 1.17  1995/01/23  04:14:26  curt
# Added contrib directory
#
# Revision 1.16  1994/12/19  14:41:47  clolson
# misc changes
#
# Revision 1.15  1994/12/01  12:47:45  clolson
# Added an icon bitmap
#
# Revision 1.14  1994/11/30  20:46:57  clolson
# added cbb.xbm
#
# Revision 1.13  1994/11/28  18:55:28  clolson
# Added reports.pl & reports.tk
#
# Revision 1.12  1994/11/17  20:07:56  curt
# Added reports
#
# Revision 1.11  1994/11/07  23:14:21  clolson
# Working on interactive category viewing/editing
#
# Revision 1.10  1994/11/07  19:16:09  clolson
# Added latex2tkhlp to install.
#
# Revision 1.9  1994/11/06  14:43:19  curt
# misc changes
#
# Revision 1.8  1994/11/02  12:48:41  curt
# Added several files, removed a couple.
#
# Revision 1.7  1994/10/18  14:19:21  curt
# -> version 0.45a
#
# Revision 1.6  1994/10/18  12:22:54  curt
# Make tar sets executable permissions on install.pl engine.pl and cbb before
# tar-ing.
# Make install runs "perl install.pl" instead of "install.pl"  This avoids
# the problem of not having perl installed where install.pl expects.
#
# Revision 1.5  1994/10/14  19:09:30  clolson
# Minor mods.
#
# Revision 1.4  1994/10/14  17:05:07  clolson
# Miscellaneous cleanups in preparation for releasing verion 0.40a
#
# Revision 1.3  1994/10/14  12:15:48  curt
# Added install.
#
# Revision 1.2  1994/10/11  21:24:01  clolson
# Minor changes ...
#
# Revision 1.1  1994/10/11  15:04:57  curt
# Official name is now cbb (for now)
#
# Revision 1.2  1994/10/11  12:56:29  curt
# Added a faq/help file.
#
# Revision 1.1  1994/10/03  02:08:26  curt
# Initial 'add'
#
