Use the new freebsd.dsl file when converting the Handbook.
This commit is contained in:
parent
5b1efe184f
commit
ef83a54132
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=3015
3 changed files with 30 additions and 15 deletions
|
@ -7,11 +7,16 @@
|
|||
# html
|
||||
# jade
|
||||
#
|
||||
# and probably one or two others.
|
||||
# and probably one or two others. You can probably get everything you need
|
||||
# with the new textproc/docproj meta-port.
|
||||
#
|
||||
# Note that you need version 1.08 of dsssl-docbook-modular. In version 1.07
|
||||
# the 'catalog' file is called 'CATALOG', and you will need to change the
|
||||
# definition below.
|
||||
#
|
||||
# THIS IS A QUICK HACK (!) so that others can get an idea of how the
|
||||
# Handbook will look after conversion. After typing "make", point your
|
||||
# browser at book01.htm and read on. This is still very much a work in
|
||||
# browser at book01.html and read on. This is still very much a work in
|
||||
# progress, and the final formatting will be considerably different.
|
||||
#
|
||||
# Eventually I expect most of this will be folded back into bsd.sgml.mk.
|
||||
|
@ -38,11 +43,12 @@ HTMLCATALOG?= /usr/local/share/sgml/html/catalog
|
|||
SGMLNORMFLAGS= -d -n -c ${HTMLCATALOG}
|
||||
|
||||
JADE?= /usr/local/bin/jade
|
||||
DSL?= /usr/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl
|
||||
DSL?= ../../sgml/freebsd.dsl
|
||||
FREEBSDCATALOG?=../../sgml/catalog
|
||||
DOCBOOKCATALOG?=/usr/local/share/sgml/docbook/3.0/catalog
|
||||
JADECATALOG?= /usr/local/share/sgml/jade/catalog
|
||||
JADEFLAGS?= -c ${FREEBSDCATALOG} -c ${DOCBOOKCATALOG} -c ${JADECATALOG} -d ${DSL} -t sgml
|
||||
DSSSLCATALOG?= /usr/local/share/sgml/docbook/dsssl/modular/catalog
|
||||
JADEFLAGS?= -c ${FREEBSDCATALOG} -c ${DSSSLCATALOG} -c ${DOCBOOKCATALOG} -c ${JADECATALOG} -d ${DSL} -t sgml
|
||||
|
||||
.sgml.html:
|
||||
@DTD=`head -n 1 ${.IMPSRC} | perl -ne '/DTD (\w+)/; print $$1;'`; \
|
||||
|
@ -54,7 +60,6 @@ JADEFLAGS?= -c ${FREEBSDCATALOG} -c ${DOCBOOKCATALOG} -c ${JADECATALOG} -d ${DSL
|
|||
;; \
|
||||
DocBook) \
|
||||
${JADE} ${JADEFLAGS} ${.IMPSRC}; \
|
||||
mv ARTICLE-0001.html ${.TARGET}; \
|
||||
;; \
|
||||
*) \
|
||||
echo "Don't know how to process $$DTD." \
|
||||
|
|
|
@ -7,11 +7,16 @@
|
|||
# html
|
||||
# jade
|
||||
#
|
||||
# and probably one or two others.
|
||||
# and probably one or two others. You can probably get everything you need
|
||||
# with the new textproc/docproj meta-port.
|
||||
#
|
||||
# Note that you need version 1.08 of dsssl-docbook-modular. In version 1.07
|
||||
# the 'catalog' file is called 'CATALOG', and you will need to change the
|
||||
# definition below.
|
||||
#
|
||||
# THIS IS A QUICK HACK (!) so that others can get an idea of how the
|
||||
# Handbook will look after conversion. After typing "make", point your
|
||||
# browser at book01.htm and read on. This is still very much a work in
|
||||
# browser at book01.html and read on. This is still very much a work in
|
||||
# progress, and the final formatting will be considerably different.
|
||||
#
|
||||
# Eventually I expect most of this will be folded back into bsd.sgml.mk.
|
||||
|
@ -38,11 +43,12 @@ HTMLCATALOG?= /usr/local/share/sgml/html/catalog
|
|||
SGMLNORMFLAGS= -d -n -c ${HTMLCATALOG}
|
||||
|
||||
JADE?= /usr/local/bin/jade
|
||||
DSL?= /usr/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl
|
||||
DSL?= ../../sgml/freebsd.dsl
|
||||
FREEBSDCATALOG?=../../sgml/catalog
|
||||
DOCBOOKCATALOG?=/usr/local/share/sgml/docbook/3.0/catalog
|
||||
JADECATALOG?= /usr/local/share/sgml/jade/catalog
|
||||
JADEFLAGS?= -c ${FREEBSDCATALOG} -c ${DOCBOOKCATALOG} -c ${JADECATALOG} -d ${DSL} -t sgml
|
||||
DSSSLCATALOG?= /usr/local/share/sgml/docbook/dsssl/modular/catalog
|
||||
JADEFLAGS?= -c ${FREEBSDCATALOG} -c ${DSSSLCATALOG} -c ${DOCBOOKCATALOG} -c ${JADECATALOG} -d ${DSL} -t sgml
|
||||
|
||||
.sgml.html:
|
||||
@DTD=`head -n 1 ${.IMPSRC} | perl -ne '/DTD (\w+)/; print $$1;'`; \
|
||||
|
@ -54,7 +60,6 @@ JADEFLAGS?= -c ${FREEBSDCATALOG} -c ${DOCBOOKCATALOG} -c ${JADECATALOG} -d ${DSL
|
|||
;; \
|
||||
DocBook) \
|
||||
${JADE} ${JADEFLAGS} ${.IMPSRC}; \
|
||||
mv ARTICLE-0001.html ${.TARGET}; \
|
||||
;; \
|
||||
*) \
|
||||
echo "Don't know how to process $$DTD." \
|
||||
|
|
|
@ -7,11 +7,16 @@
|
|||
# html
|
||||
# jade
|
||||
#
|
||||
# and probably one or two others.
|
||||
# and probably one or two others. You can probably get everything you need
|
||||
# with the new textproc/docproj meta-port.
|
||||
#
|
||||
# Note that you need version 1.08 of dsssl-docbook-modular. In version 1.07
|
||||
# the 'catalog' file is called 'CATALOG', and you will need to change the
|
||||
# definition below.
|
||||
#
|
||||
# THIS IS A QUICK HACK (!) so that others can get an idea of how the
|
||||
# Handbook will look after conversion. After typing "make", point your
|
||||
# browser at book01.htm and read on. This is still very much a work in
|
||||
# browser at book01.html and read on. This is still very much a work in
|
||||
# progress, and the final formatting will be considerably different.
|
||||
#
|
||||
# Eventually I expect most of this will be folded back into bsd.sgml.mk.
|
||||
|
@ -38,11 +43,12 @@ HTMLCATALOG?= /usr/local/share/sgml/html/catalog
|
|||
SGMLNORMFLAGS= -d -n -c ${HTMLCATALOG}
|
||||
|
||||
JADE?= /usr/local/bin/jade
|
||||
DSL?= /usr/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl
|
||||
DSL?= ../../sgml/freebsd.dsl
|
||||
FREEBSDCATALOG?=../../sgml/catalog
|
||||
DOCBOOKCATALOG?=/usr/local/share/sgml/docbook/3.0/catalog
|
||||
JADECATALOG?= /usr/local/share/sgml/jade/catalog
|
||||
JADEFLAGS?= -c ${FREEBSDCATALOG} -c ${DOCBOOKCATALOG} -c ${JADECATALOG} -d ${DSL} -t sgml
|
||||
DSSSLCATALOG?= /usr/local/share/sgml/docbook/dsssl/modular/catalog
|
||||
JADEFLAGS?= -c ${FREEBSDCATALOG} -c ${DSSSLCATALOG} -c ${DOCBOOKCATALOG} -c ${JADECATALOG} -d ${DSL} -t sgml
|
||||
|
||||
.sgml.html:
|
||||
@DTD=`head -n 1 ${.IMPSRC} | perl -ne '/DTD (\w+)/; print $$1;'`; \
|
||||
|
@ -54,7 +60,6 @@ JADEFLAGS?= -c ${FREEBSDCATALOG} -c ${DOCBOOKCATALOG} -c ${JADECATALOG} -d ${DSL
|
|||
;; \
|
||||
DocBook) \
|
||||
${JADE} ${JADEFLAGS} ${.IMPSRC}; \
|
||||
mv ARTICLE-0001.html ${.TARGET}; \
|
||||
;; \
|
||||
*) \
|
||||
echo "Don't know how to process $$DTD." \
|
||||
|
|
Loading…
Reference in a new issue