# -*- Mode: makefile  -*-
#
# $Id: Makefile.am,v 1.2 1997/02/08 16:26:41 prudhomm Exp $
#
# SUMMARY:      
# USAGE:        make <make-target>
#
# AUTHOR:       Christophe Prud'homme
# ORG:           
# E-MAIL:       Christophe.Prudhomme@asci.fr
#
# ORIG-DATE:     2-Nov-96 at 05:10:28
# LAST-MOD:      8-Feb-97 at 17:07:34 by Christophe Prud'homme
#
# DESCRIPTION:  
#  - Look in GNU Coding standards for further informations
#
# $Log: Makefile.am,v $
# Revision 1.2  1997/02/08 16:26:41  prudhomm
# Splitted freefem.tex into parts each parts containing a chapter of the documentation
#
# Revision 1.1  1997/02/04 00:07:49  prudhomm
# added Makefiles and freefem.tex in repository
# ok latex2html works
# hyperlatex doesn't work anymore
#
# DESCRIP-END.	

all: all-recursive all-am 
SUFFIXES	= 

SUBDIRS		= html

LATEX		= @LATEX@

# LATEX2HTML should be hyperlatex (latex2html is not tested)
LATEX2HTML	= @LATEX2HTML@

EXTRA_DIST	= adaptation.tex copyright.tex examples.tex freefem.tex generalities.tex install.tex intro.tex texinfo.tex freefem.dvi freefem.ps 

install-data-hook:
	$(mkinstalldirs) $(prefix)/doc/PS/$(PACKAGE)
	for file in $(EXTRA_DIST); do \
	$(INSTALL_DATA) $(srcdir)/$$file $(prefix)/doc/PS/$(PACKAGE);\
	done

#.tex.dvi: freefem.tex
#	makeindex -s $(srcdir)/index.ist freefem
#	$(LATEX2HTML) -dvi $<
#	makeindex -s $(srcdir)/index.ist freefem
#	$(LATEX2HTML) -dvi $<

#.tex.html: freefem.tex
#	$(LATEX2HTML) -html $<


#.dvi.ps: freefem.dvi
#	dvips -o $@ freefem.dvi


#.dvi.txt: freefem.dvi
#	dvi2tty -o freefem.txt freefem

