/**/include ../../Path.incl
#include "../../Imake.incl"

TEXFILES= basicprimitives.tex chap0.tex chap1.tex datatypes.tex graphics.tex intersci.tex intro.tex programming.tex 

AllTarget(info)

info 	:
	@echo "  intro.ps.Z is Scilab documentation "
	@echo "  in compressed Postscript source "
	@echo 
	@echo "  To remake it from scratch, you need" 
	@echo "  scilab, latex and makeindex type :"
	@echo "     rm intro.ps.Z ; xmkmf ; make Makefiles ; make doc "

doc	:  subs intro.ps.Z

intro.ps.Z: subs  $(TEXFILES)
	latex intro
	makeindex -s intro.isty intro
	latex intro
	dvips -o intro.ps intro.dvi 
	$(RM) intro.ps.Z
	compress intro.ps

clean	::
	$(RM) *.aux *.log  *.dvi *.ind *.idx *.ilg *.lof *.lot *.toc intro.ps

distclean:: clean 

#define IHaveSubdirs
#define PassCDebugFlags CDEBUGFLAGS='$(CDEBUGFLAGS)'

SUBDIRS = diary figures fort

NamedMakeSubdirs(subs,$(SUBDIRS))
DependSubdirs($(SUBDIRS))
DistCleanSubdirs($(SUBDIRS))

