SGS=$(SG).sgml
SGO=$(SG).html
DSL=../../../ecc/private/output/dbtohtml.dsl

all:: $(SGO)
SGOPTS=-V %no-split-output% -V %no-make-index%

$(SGO): $(SGS) $(DSL)
	jade $(SGOPTS) -d $(DSL) -t sgml $(SGS)
	mv DBTOHTML.html $(SGO)

PRIV=private_html
PROJ=ecc

install::
	cp -pf $(SGO) $$HOME/$(PRIV)/$(PROJ)/$(SG).html
	cp -pf $(SGS) $$HOME/$(PRIV)/$(PROJ)/$(SG).sgml
