e="<meta charset=\"utf-8\">
<link rel=\"stylesheet\" href=\"doc.css\"/>"
dest=../bin/doc/

but:
	rm -r $(dest)
	mkdir $(dest)
	echo $e > $(dest)index.html;         markdown index.md >> $(dest)index.html
	echo $e > $(dest)anatomie.html;      markdown anatomie.md >> $(dest)anatomie.html
	echo $e > $(dest)debuter.html;       markdown debuter.md >> $(dest)debuter.html
	echo $e > $(dest)lemmatiser.html;    markdown lemmatiser.md >> $(dest)lemmatiser.html
	echo $e > $(dest)modules.html;       markdown modules.md >> $(dest)modules.html
	echo $e > $(dest)coloriser.html;     markdown coloriser.md >> $(dest)coloriser.html
	echo $e > $(dest)dictionnaires.html; markdown dictionnaires.md >> $(dest)dictionnaires.html
	echo $e > $(dest)scander.html;       markdown scander.md >> $(dest)scander.html
	echo $e > $(dest)flechir.html;       markdown flechir.md >> $(dest)flechir.html
	echo $e > $(dest)tagger.html;        markdown tagger.md  >> $(dest)tagger.html
	echo $e > $(dest)server.html;        markdown server.md  >> $(dest)server.html
	echo $e > $(dest)avancee.html;       markdown avancee.md >> $(dest)avancee.html
	echo $e > $(dest)programmeurs.html;  markdown programmeurs.md >> $(dest)programmeurs.html
	echo $e > $(dest)licence.html;       markdown licence.md >> $(dest)licence.html
	cp doc.css ../bin/doc/
	cp *.png ../bin/doc/

clean:
	echo suppression de la documentation
	rm -r $(dest)

test:
	$(BROWSER) ../bin/doc/index.html

