## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.7 2000/12/07 04:04:15 dm Exp $

info_TEXINFOS = sfs.texi

DVIDEPS = components.eps epsf.tex

components.eps: $(srcdir)/components.fig
	fig2dev -L ps -e $(srcdir)/components.fig > components.eps

epsf.tex:
	@rm -f epsf.tex
	epsftex=`find $(prefix)/share/texmf \
		/usr/share/texmf \
		/usr/local/share/texmf \
		-name epsf.tex | head -1`; \
		test "$$epsftex" && ln -s $$epsftex .

sfs.dvi: $(DVIDEPS)

sfs.html: $(srcdir)/sfs.texi
	output=`pwd`/$@; (cd $(srcdir) \
		&& makeinfo --html --no-headers sfs.texi -o $$output)

EXTRA_DIST = .cvsignore epsf.tex components.eps components.fig
CLEANFILES = core *.core *~
DISTCLEANFILES = sfs.html
MAINTAINERCLEANFILES = Makefile.in texinfo.tex epsf.tex components.eps

