j1.mem j1.bin: *.fs Makefile
	@echo ': version s" '`svnversion`'" ;' > version.fs
	date
	@date +': builddate d# %s. d# %z ;' >> version.fs
	@gforth -e 'include main.fs bye'

doc: *.fs Makefile
	gforth -e 'include ../../docforth/docforth.fs s" document.fs" document bye'
	mkdir -p html
	mv *.html html
