################################################################ # [LibML - Machine Learning Library] # http://libml.org # Copyright (C) 2002 - 2003 LAGACHERIE Matthieu RICORDEAU Olivier # # 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, # USA. # SPECIAL NOTE (the beerware clause): # This software is free software. However, it also falls under the beerware # special category. That is, if you find this software useful, or use it # every day, or want to grant us for our modest contribution to the # free software community, feel free to send us a beer from one of # your local brewery. Our preference goes to Belgium abbey beers and # irish stout (Guiness for strength!), but we like to try new stuffs. # Authors: # Matthieu LAGACHERIE # E-mail : matthieu@libml.org # Olivier RICORDEAU # E-mail : olivier@libml.org ################################################################ include ../../src/common.Makefile # name of the .tex file (source of the user manual) MANUAL_TEX = $(NAME)_user_manual.tex # the name of this subdirectory DIRNAME = user_manual MANUAL_DVI = $(MANUAL_TEX:.tex=.dvi) MANUAL_PDF = $(MANUAL_TEX:.tex=.pdf) MANUAL_PS = $(MANUAL_TEX:.tex=.ps) doc: dvi pdf ps html html: doc-clean minimum $(MANUAL_TEX) @echo " + making $@ in $(DIRNAME)..." @if [ ! -d html ];\ then mkdir html;\ fi $(LATEX2HTML_HERE) -dir html -address olivier@libml.org \ -auto_navigation -up_url ../../index.html -up_title \ "LibML documentation" $(MANUAL_TEX) dvi: doc-clean minimum $(MANUAL_TEX) @echo " + generating user manual ..." $(LATEX_HERE) $(MANUAL_TEX) $(LATEX_HERE) $(MANUAL_TEX) pdf: dvi @echo " + making $@ in $(DIRNAME) ..." $(DVIPDF_HERE) $(MANUAL_DVI) $(MANUAL_PDF) ps: dvi @echo " + making $@ in $(DIRNAME) ..." $(DVIPS_HERE) $(MANUAL_DVI) -o $(MANUAL_PS) doc-clean: @echo " + making $@ in $(DIRNAME) ..." @$(RM) -R $(MANUAL_DVI) $(MANUAL_PDF) $(MANUAL_PS) html/ clean: @echo " + making $@ in $(DIRNAME) ..." @$(RM) *~ \#* $(NAME)_user_manual.{aux,log,toc,cb,dvi} distclean dist-clean: clean doc-clean @$(RM) ./gpl.tex view: xpdf $(MANUAL_PDF) minimum: @ln -fs ../../gpl.txt ./gpl.tex .PHONY: doc minimum