#  'cbb' -- Check Book Balancer
#           Makefile
#
#  Written by Curtis Olson.  Started August 25, 1994.
#
#  Copyright (C) 1994, 1995, 1996  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.31 1996/02/11 20:33:01 curt Exp $
# (Log is kept at end of this file)


CBB_ROOT = cbb-0.62a
TAR = tar


install:
	perl install.pl

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


cbb-man/cbb-man.html: cbb-man.tex
	/usr/local/src/www/latex2html/latex2html -split 1 cbb-man.tex


tar: cbb-man.ps cbb-man/cbb-man.html
	chmod 644 cbb wrapper.pl install.pl
	( cd ..; \
	$(TAR) cvf $(CBB_ROOT).tar $(CBB_ROOT)/Announce $(CBB_ROOT)/Bugs \
		$(CBB_ROOT)/COPYING $(CBB_ROOT)/FAQ $(CBB_ROOT)/Makefile \
		$(CBB_ROOT)/README $(CBB_ROOT)/THANKS $(CBB_ROOT)/Todo \
		$(CBB_ROOT)/Version $(CBB_ROOT)/author.xbm \
		$(CBB_ROOT)/bindings.tk \
		$(CBB_ROOT)/categories.pl $(CBB_ROOT)/categories.tk \
		$(CBB_ROOT)/cbb \
		$(CBB_ROOT)/cbb-man/ $(CBB_ROOT)/cbb-man.ps \
		$(CBB_ROOT)/cbb-man.sty $(CBB_ROOT)/cbb-man.tex \
		$(CBB_ROOT)/cbb.xbm $(CBB_ROOT)/common.pl \
		$(CBB_ROOT)/common.tk \
		$(CBB_ROOT)/conf-reports \
		$(CBB_ROOT)/contrib/cbbsh.tar.gz \
		$(CBB_ROOT)/contrib/demo.inv \
		$(CBB_ROOT)/contrib/emacs-forms \
		$(CBB_ROOT)/contrib/invest.pl \
		$(CBB_ROOT)/contrib/migrate-to-0.60a.pl \
		$(CBB_ROOT)/contrib/recur.pl \
		$(CBB_ROOT)/contrib/upgrade-splits.pl \
		$(CBB_ROOT)/contrib/yearend.pl \
		$(CBB_ROOT)/csh.src $(CBB_ROOT)/default.cat \
		$(CBB_ROOT)/demo/categories \
		$(CBB_ROOT)/demo/demo.cbb \
		$(CBB_ROOT)/demo/demo.qif \
		$(CBB_ROOT)/demo/demo.rcr \
		$(CBB_ROOT)/engine.pl $(CBB_ROOT)/export.pl \
		$(CBB_ROOT)/extern.conf \
		$(CBB_ROOT)/file.pl $(CBB_ROOT)/file.tk \
		$(CBB_ROOT)/filebox.tk \
		$(CBB_ROOT)/graphs/graphs.conf \
		$(CBB_ROOT)/graphs/grph-txn-list.pl \
		$(CBB_ROOT)/import.pl \
		$(CBB_ROOT)/install.pl $(CBB_ROOT)/latex2tkhlp \
		$(CBB_ROOT)/log.pl $(CBB_ROOT)/main.tk \
		$(CBB_ROOT)/memorized.pl \
		$(CBB_ROOT)/menu.tk \
		$(CBB_ROOT)/req-specs \
		$(CBB_ROOT)/reports/rep-by-cat-shrt.pl \
		$(CBB_ROOT)/reports/rep-by-cat.pl \
		$(CBB_ROOT)/reports/rep-txn-list.pl \
		$(CBB_ROOT)/reports/reports.conf \
		$(CBB_ROOT)/reports.pl \
		$(CBB_ROOT)/wrapper.pl)

tar-all:
	chmod 755 cbb wrapper.pl install.pl
	( cd ..; $(TAR) cvf $(CBB_ROOT)-all.tar $(CBB_ROOT) )


# $Log: Makefile,v $
# Revision 1.31  1996/02/11  20:33:01  curt
# Added a couple of files to distribution
#
# Revision 1.30  1996/01/21  01:05:57  curt
# Update copyright, minor changes to tared files.
#
# Revision 1.29  1996/01/12  13:20:47  curt
# Modified Files:  Announce Bugs FAQ History Makefile People README Todo Version
#   Miscellaneous updates for version 0.62
#
# Revision 1.28  1995/08/03  23:58:06  curt
# Added rule to make latex2html on line manual.
#
# Revision 1.27  1995/07/20  11:18:44  curt
# Spelling fixes ...
#
# Revision 1.26  1995/07/20  02:44:02  curt
# Updates to bring up to date with 0.60a
#
# Revision 1.25  1995/07/14  11:29:39  curt
# Added files to the default distribution
#
# Revision 1.24  1995/07/04  22:47:22  curt
# Made changes to reflect .../cbb/demos .../cbb/graphs .../cbb/reports
#
# Revision 1.23  1995/06/07  03:32:53  curt
# Modified Files:  Makefile cbb cbb-man.tex install.pl
# Added Files:  main.tk
#   Moved most of the main window related routines to main.tk
#
# Revision 1.22  1995/06/04  13:21:32  curt
# New version 0.60a
#
# Revision 1.21  1995/04/24  02:54:38  curt
# Added file.pl and menu.tk
#
# Revision 1.20  1995/04/12  12:43:45  curt
# New file --> file.tk
#
# 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 version 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'
#
