##########################################################################
#                   Cameleon                                             #
#                                                                        #
#      Copyright (C) 2002 Institut National de Recherche en Informatique et   #
#      en Automatique. All rights reserved.                              #
#                                                                        #
#      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  #
#      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., 59 Temple Place, Suite 330, Boston, MA          #
#      02111-1307  USA                                                   #
#                                                                        #
#      Contact: Maxence.Guesdon@inria.fr                                #
##########################################################################


all: install

ROOT=/home/pauillac/cristal6/guesdon/public_html

JPGFILES=

CAM_ROOT=$(ROOT)/Tools/cameleon/
CAM_FAQ=$(CAM_ROOT)/faq.html

CAM_PLUGINS=$(CAM_ROOT)/plugins.html

install: $(CAM_FAQ) $(CAM_PLUGINS) faq_title.jpg

$(CAM_FAQ): cameleon.faq 
	faquin -image-script "toolpage_mk_title 22" \
		-g-2levels -prefix faq -style faq_style.css $<
	cp -f faq.html faq_style.css faq*.jpg $(CAM_ROOT)

$(CAM_PLUGINS): /work/OCaml/toolpage/examples/cameleon_plugins/plugins.plg
	/work/OCaml/toolpage/examples/cameleon_plugins/plg -gen -prefix plugins $<
	cp -f plugins.html $@

faq_title.jpg: 
	basic2_logo.sh 26 "Cameleon : FAQ" 255 255 255 66 229 96 $@
	cp -f $@ $(CAM_ROOT)
