forked from Mirrors/freeswitch
838eb8aaec
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3763 d0543943-73ff-0310-b7d9-9358b9ac24b2
22 lines
555 B
Makefile
22 lines
555 B
Makefile
# DSL = /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl
|
|
DSL = /usr/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl
|
|
JADE = jade
|
|
HTML_RENDER = lynx -force_html -nolist -dump
|
|
|
|
SOURCES = API README
|
|
|
|
all:
|
|
@for i in $(SOURCES); do \
|
|
echo $$i - building html; \
|
|
$(JADE) -t sgml -V nochunks -d $(DSL) $$i.sgml > $$i.html; \
|
|
\
|
|
echo $$i - building txt; \
|
|
$(HTML_RENDER) $$i.html > $$i.txt; \
|
|
\
|
|
echo $$i - building multipage HTML; \
|
|
mkdir -p $$i; \
|
|
cd $$i; \
|
|
$(JADE) -t sgml -d $(DSL) ../$$i.sgml; \
|
|
cd ..; \
|
|
done
|