include ../../JF.conf

DEST_WWW_HTML=$(WWW_ROOT)/Greenroom

.SUFFIXES: .m4 .html

.m4.html:
	m4 -P $*.m4 | nkf -w > $*.html

all: contents cvs-readme gofer-task committers

contents: index.html

cvs-readme:
	cd JF-CVS-README; make

gofer-task:
	cd JF-gofer-task-howto; make

committers:
	cd JF-committers; make

*.html: ../../www/jf_www.m4

install: all
	mkdir -p $(DEST_WWW_HTML)
	$(INSTALL) index.html $(DEST_WWW_HTML)
	cd JF-CVS-README; make install
	cd JF-gofer-task-howto; make install
	cd JF-committers; make install
clean:
	rm -f index.html
	cd JF-CVS-README; make clean
	cd JF-gofer-task-howto; make clean
	cd JF-committers; make clean