#splunk_tutorial:
#	INFILE="$@" make -f ../Makefile.plugin
#
#t2fm_tutorial:
#	INFILE="$@" make -f ../Makefile.plugin
#
#template_tutorial:
#	INFILE="$@" make -f ../Makefile.plugin

# Build all the tutorials
all:
	for i in *.tex; do \
		if [ "$$i" != "template_tutorial.tex" ]; then \
			INFILE="$$(basename "$$i" .tex)" make -f ../Makefile.plugin; \
		fi \
	done

# Delete all files generated by LaTeX
clean:
	for i in *.tex; do \
		INFILE="$$(basename "$$i" .tex)" make -f ../Makefile.plugin clean; \
	done

# Delete all files generated by LaTeX and all the PDFs
clean_all:
	for i in *.tex; do \
		INFILE="$$(basename "$$i" .tex)" make -f ../Makefile.plugin clean_all; \
	done
