##############################################################################
#                    Internetting Cooperating Programmers
# ----------------------------------------------------------------------------
#
#  ____    PROJECT
# |  _ \  __ _ _ __   ___ ___ _ __ 
# | | | |/ _` | '_ \ / __/ _ \ '__|
# | |_| | (_| | | | | (_|  __/ |   
# |____/ \__,_|_| |_|\___\___|_|   the IRC bot
#
# Main authors:
#  - Bjrn Reese <breese@imada.ou.dk>
#  - Daniel Stenberg <Daniel.Stenberg@sth.frontec.se>
#
# Contributing authors (and ports):
#  - Philippe Brand <phb@telesys-innov.fr>
#  - Bjrn Stenberg <Bjorn.Stenberg@sth.frontec.se>
#
# All files in this archive are subject to the GNU General Public License.
# 
#               HTTP://www.imada.ou.dk/~breese/dancer.html
#                FTP://ftp.netcom.com/pub/ra/raydar/Dancer
#
# $Source: /home/metal/dast/dancer/RCS/Makefile,v $
# $Revision: 1.1 $
# $Date: 1997/05/12 19:26:43 $
# $Author: dast $
# $State: Exp $
# $Locker:  $
#
# ---------------------------------------------------------------------------
# $Log: Makefile,v $
# Revision 1.1  1997/05/12 19:26:43  dast
# Initial revision
#
#
#############################################################################

PRG = dancer

all: src/config.h
	(cd src; make debug)

src/config.h:
	(cd src; ./configure; cd ..; /bin/sh fplcheck)

configure:
	(cd src; ./configure; cd ..; /bin/sh fplcheck)

install:
	/bin/sh installbot

tgz:
	@(dir=`pwd`;name=`basename $$dir`;echo Creates $$name.tar.gz; cd .. ; \
	tar -cf $$name.tar `cat $$name/FILES | sed "s:^dancer/:$$name/:g"` ; \
	gzip $$name.tar ; chmod a+r $$name.tar.gz ; mv $$name.tar.gz $$name/)

lha:
	@(dir=`pwd`;name=`basename $$dir`;echo Creates $$name.lha; cd .. ; \
	cat $$name/FILES | sed "s:^dancer/:$$name/:g" | lha a $$name.lha ; \
	chmod a+r $$name.lha ; mv $$name.lha $$name/)

