#--------------------------------------------------------------------------
# Makefile for fequiz project
# Copyright (C) 2005-2009  Dino Morelli  <dino@ui3.info>
#
#   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., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
#   USA
#--------------------------------------------------------------------------

DISTNAME=fequiz-1_3_0

help:
	@echo "This project uses make for the following:"
	@echo
	@echo "   make dist"
	@echo "      Makes the distribution dir (dist/) and creates the zip file"
	@echo
	@echo "   make clean"
	@echo "      Removes files that make created, the dist dir"

dist:
	mkdir -p dist/${DISTNAME}
	ln fequiz dist/${DISTNAME}/fequiz.plx
	ln fequiz.bat dist/${DISTNAME}/fequiz.bat
	ln LICENSE dist/${DISTNAME}/LICENSE
	cd dist ; zip -r ${DISTNAME}.zip ${DISTNAME}

clean:
	rm -rf dist


.PHONY: clean
