2003-09-15 01:24:13 +02:00
|
|
|
JADE=/usr/bin/jade
|
2004-02-19 02:15:04 +01:00
|
|
|
JADETEX=/usr/bin/jadetex
|
|
|
|
DVIPDF=/usr/bin/dvipdfm
|
|
|
|
HTMLSTYLESHEET=/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl
|
|
|
|
PRINTSTYLESHEET=/usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl
|
2003-09-15 01:24:13 +02:00
|
|
|
|
2004-02-19 02:15:04 +01:00
|
|
|
html: example.sgml capabilities.sgml
|
|
|
|
$(JADE) -t xml -d $(HTMLSTYLESHEET) $<
|
|
|
|
|
|
|
|
example.dvi: example.sgml
|
|
|
|
$(JADE) -t tex -d $(PRINTSTYLESHEET) $<
|
|
|
|
$(JADETEX) $(addsuffix .tex, $(basename $<))
|
|
|
|
|
|
|
|
example.pdf: example.dvi
|
|
|
|
$(DVIPDF) -o $(addsuffix .pdf, $(basename $<)) $<
|
|
|
|
|
|
|
|
capabilities.dvi: capabilities.sgml
|
|
|
|
$(JADE) -t tex -d $(PRINTSTYLESHEET) $<
|
|
|
|
$(JADETEX) $(addsuffix .tex, $(basename $<))
|
|
|
|
|
|
|
|
capabilities.pdf: capabilities.dvi
|
|
|
|
$(DVIPDF) -o $(addsuffix .pdf, $(basename $<)) $<
|
2003-09-15 01:24:13 +02:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.html
|