## Makefile 
## Copyright (C) 2001 Cornett Wood 
##
## 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, 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.
##
## To received a copy of the GNU General Public License, write to the
## Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

PROJECT=acid_init

FILES=VERSION FILES Makefile README create.sh destroy.sh getacid.sh \
      site-conf.template db-cfg.template aa.conf

VERSION=`cat VERSION`
DIR=$(PROJECT)-$(VERSION)

help:
	more README

tar: $(FILES)
	[ -d $(DIR) ] || mkdir $(DIR)
	rm -f $(DIR)/*
	(tar -cf - $(FILES)) | (cd $(DIR);tar -xf -)
	tar -zcf $(DIR).tar.gz $(DIR)

VERSION:
	echo 0.0 > VERSION
