For directories with linuxdoc docs (eg handbok, faq), make an index.html
symlink to the appropriate file after installing.
This commit is contained in:
parent
6d506c215b
commit
a2832b8a22
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=569
3 changed files with 12 additions and 9 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
# bsd.web.mk
|
# bsd.web.mk
|
||||||
# $Id: web.mk,v 1.4 1996-09-28 23:18:10 jfieber Exp $
|
# $Id: web.mk,v 1.5 1996-10-01 23:41:29 jfieber Exp $
|
||||||
|
|
||||||
#
|
#
|
||||||
# Build and install a web site.
|
# Build and install a web site.
|
||||||
|
|
@ -197,7 +197,8 @@ realinstall2:
|
||||||
for entry in ${DOCSUBDIR}; do \
|
for entry in ${DOCSUBDIR}; do \
|
||||||
(cd ${DOCINSTALLDIR}/$$entry; \
|
(cd ${DOCINSTALLDIR}/$$entry; \
|
||||||
tar czf $$entry-html.tar.gz $${entry}.html $${entry}_toc.html \
|
tar czf $$entry-html.tar.gz $${entry}.html $${entry}_toc.html \
|
||||||
$$entry[0-9]*.html ) \
|
$$entry[0-9]*.html; \
|
||||||
|
ln -fs $${entry}.html index.html ) \
|
||||||
done
|
done
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
@ -235,7 +236,7 @@ _PROGSUBDIR: .USE
|
||||||
|
|
||||||
.if defined (DOCSUBDIR) && !empty(DOCSUBDIR)
|
.if defined (DOCSUBDIR) && !empty(DOCSUBDIR)
|
||||||
|
|
||||||
FORMATS?= "html ascii latin1 ps"
|
FORMATS?= "html ps latin1 ascii"
|
||||||
PARAMS= DESTDIR=${DESTDIR} DOCDIR=${WEBBASE}/${WEBDIR}
|
PARAMS= DESTDIR=${DESTDIR} DOCDIR=${WEBBASE}/${WEBDIR}
|
||||||
PARAMS+= DOCOWN=${WEBOWN} DOCGRP=${WEBGRP}
|
PARAMS+= DOCOWN=${WEBOWN} DOCGRP=${WEBGRP}
|
||||||
PARAMS+= SGMLOPTS="-links" FORMATS=${FORMATS} COPY="${COPY}"
|
PARAMS+= SGMLOPTS="-links" FORMATS=${FORMATS} COPY="${COPY}"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
# bsd.web.mk
|
# bsd.web.mk
|
||||||
# $Id: web.mk,v 1.4 1996-09-28 23:18:10 jfieber Exp $
|
# $Id: web.mk,v 1.5 1996-10-01 23:41:29 jfieber Exp $
|
||||||
|
|
||||||
#
|
#
|
||||||
# Build and install a web site.
|
# Build and install a web site.
|
||||||
|
|
@ -197,7 +197,8 @@ realinstall2:
|
||||||
for entry in ${DOCSUBDIR}; do \
|
for entry in ${DOCSUBDIR}; do \
|
||||||
(cd ${DOCINSTALLDIR}/$$entry; \
|
(cd ${DOCINSTALLDIR}/$$entry; \
|
||||||
tar czf $$entry-html.tar.gz $${entry}.html $${entry}_toc.html \
|
tar czf $$entry-html.tar.gz $${entry}.html $${entry}_toc.html \
|
||||||
$$entry[0-9]*.html ) \
|
$$entry[0-9]*.html; \
|
||||||
|
ln -fs $${entry}.html index.html ) \
|
||||||
done
|
done
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
@ -235,7 +236,7 @@ _PROGSUBDIR: .USE
|
||||||
|
|
||||||
.if defined (DOCSUBDIR) && !empty(DOCSUBDIR)
|
.if defined (DOCSUBDIR) && !empty(DOCSUBDIR)
|
||||||
|
|
||||||
FORMATS?= "html ascii latin1 ps"
|
FORMATS?= "html ps latin1 ascii"
|
||||||
PARAMS= DESTDIR=${DESTDIR} DOCDIR=${WEBBASE}/${WEBDIR}
|
PARAMS= DESTDIR=${DESTDIR} DOCDIR=${WEBBASE}/${WEBDIR}
|
||||||
PARAMS+= DOCOWN=${WEBOWN} DOCGRP=${WEBGRP}
|
PARAMS+= DOCOWN=${WEBOWN} DOCGRP=${WEBGRP}
|
||||||
PARAMS+= SGMLOPTS="-links" FORMATS=${FORMATS} COPY="${COPY}"
|
PARAMS+= SGMLOPTS="-links" FORMATS=${FORMATS} COPY="${COPY}"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
# bsd.web.mk
|
# bsd.web.mk
|
||||||
# $Id: web.site.mk,v 1.4 1996-09-28 23:18:10 jfieber Exp $
|
# $Id: web.site.mk,v 1.5 1996-10-01 23:41:29 jfieber Exp $
|
||||||
|
|
||||||
#
|
#
|
||||||
# Build and install a web site.
|
# Build and install a web site.
|
||||||
|
|
@ -197,7 +197,8 @@ realinstall2:
|
||||||
for entry in ${DOCSUBDIR}; do \
|
for entry in ${DOCSUBDIR}; do \
|
||||||
(cd ${DOCINSTALLDIR}/$$entry; \
|
(cd ${DOCINSTALLDIR}/$$entry; \
|
||||||
tar czf $$entry-html.tar.gz $${entry}.html $${entry}_toc.html \
|
tar czf $$entry-html.tar.gz $${entry}.html $${entry}_toc.html \
|
||||||
$$entry[0-9]*.html ) \
|
$$entry[0-9]*.html; \
|
||||||
|
ln -fs $${entry}.html index.html ) \
|
||||||
done
|
done
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
@ -235,7 +236,7 @@ _PROGSUBDIR: .USE
|
||||||
|
|
||||||
.if defined (DOCSUBDIR) && !empty(DOCSUBDIR)
|
.if defined (DOCSUBDIR) && !empty(DOCSUBDIR)
|
||||||
|
|
||||||
FORMATS?= "html ascii latin1 ps"
|
FORMATS?= "html ps latin1 ascii"
|
||||||
PARAMS= DESTDIR=${DESTDIR} DOCDIR=${WEBBASE}/${WEBDIR}
|
PARAMS= DESTDIR=${DESTDIR} DOCDIR=${WEBBASE}/${WEBDIR}
|
||||||
PARAMS+= DOCOWN=${WEBOWN} DOCGRP=${WEBGRP}
|
PARAMS+= DOCOWN=${WEBOWN} DOCGRP=${WEBGRP}
|
||||||
PARAMS+= SGMLOPTS="-links" FORMATS=${FORMATS} COPY="${COPY}"
|
PARAMS+= SGMLOPTS="-links" FORMATS=${FORMATS} COPY="${COPY}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue