nico@210: #! gmake
nico@210: 
nico@210: #
nico@210: # Copyright (C) 2006 Nicolas GRANDEMANGE
nico@210: # 
nico@210: # This file is part of canfestival, a library implementing the canopen
nico@210: # stack
nico@210: # 
nico@210: # This library is free software; you can redistribute it and/or
nico@210: # modify it under the terms of the GNU Lesser General Public
nico@210: # License as published by the Free Software Foundation; either
nico@210: # version 2.1 of the License, or (at your option) any later version.
nico@210: # 
nico@210: # This library is distributed in the hope that it will be useful,
nico@210: # but WITHOUT ANY WARRANTY; without even the implied warranty of
nico@210: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
nico@210: # Lesser General Public License for more details.
nico@210: # 
nico@210: # You should have received a copy of the GNU Lesser General Public
nico@210: # License along with this library; if not, write to the Free Software
nico@210: # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
nico@210: # 
nico@210: 
etisserant@212: all: manual
nico@210: 
etisserant@212: clean:
etisserant@212: 	cd en && \
etisserant@212: 	rm -f manual.aux manual.log manual.out manual.toc manual.pdf && \
etisserant@212: 	rm -rf html && \
etisserant@212: 	mkdir html
etisserant@212: 
etisserant@212: manual: clean
nico@210: 	cd en && \
nico@210: 	pdflatex manual.tex && \
nico@210: 	pdflatex manual.tex && \
nico@210: 	cp manual.pdf ../../../objdictgen/doc/manual_en.pdf && \
etisserant@249: 	latex2html -split 0 -dir html manual.tex && \
nico@210: 	xpdf manual.pdf