index: pre_index news
	./embed.pl -t "home" < pre_index.htm > index.htm

pre_index:	news pre_pre_index.htm
	cat /tmp/h1 pre_pre_index.htm > pre_index.htm
	
news:	news.txt
	./news.pl < news.txt > /tmp/h1

clean:
	rm -f *~

all: index
	cd doc ; make
	cd samples ; make
	cd screenshots ; make

allclean: clean
	cd doc ; make clean
	cd samples ; make clean
	cd screenshots ; make clean

