Pull out the realinstall2 target. The code to do this is part of the
standard doc/ build, and can be turned on for all articles and books as necessary. What's more likely is that these files (.tar.gz of the HTML, PS, and other versions) will be automatically generated and placed on wcarchive, and linked to there instead.
This commit is contained in:
parent
d601578264
commit
92bf4933d5
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=5403
2 changed files with 2 additions and 24 deletions
13
en/web.mk
13
en/web.mk
|
@ -1,5 +1,5 @@
|
|||
# bsd.web.mk
|
||||
# $Id: web.mk,v 1.20 1999-04-27 18:31:42 nik Exp $
|
||||
# $Id: web.mk,v 1.21 1999-08-19 20:40:26 nik Exp $
|
||||
|
||||
#
|
||||
# Build and install a web site.
|
||||
|
@ -158,17 +158,6 @@ realinstall: ${COOKIE} ${GENDOCS} ${DATA} ${LOCAL} ${CGI} _PROGSUBDIR
|
|||
done
|
||||
.endif
|
||||
|
||||
realinstall2:
|
||||
.if defined(DOCSUBDIR) && !empty(DOCSUBDIR)
|
||||
for entry in ${DOCSUBDIR}; do \
|
||||
if [ $$entry != "handbook" ]; then \
|
||||
(cd ${DOCINSTALLDIR}/$$entry; \
|
||||
if test -f $$entry.html; then tar czf $$entry-html.tar.gz *.html; fi; \
|
||||
if test -f $$entry.html; then ln -fs $${entry}.html index.html;fi ) \
|
||||
fi; \
|
||||
done
|
||||
.endif
|
||||
|
||||
# Set up install dependencies so they happen in the correct order.
|
||||
install: afterinstall
|
||||
afterinstall: realinstall2
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# bsd.web.mk
|
||||
# $Id: web.site.mk,v 1.20 1999-04-27 18:31:42 nik Exp $
|
||||
# $Id: web.site.mk,v 1.21 1999-08-19 20:40:26 nik Exp $
|
||||
|
||||
#
|
||||
# Build and install a web site.
|
||||
|
@ -158,17 +158,6 @@ realinstall: ${COOKIE} ${GENDOCS} ${DATA} ${LOCAL} ${CGI} _PROGSUBDIR
|
|||
done
|
||||
.endif
|
||||
|
||||
realinstall2:
|
||||
.if defined(DOCSUBDIR) && !empty(DOCSUBDIR)
|
||||
for entry in ${DOCSUBDIR}; do \
|
||||
if [ $$entry != "handbook" ]; then \
|
||||
(cd ${DOCINSTALLDIR}/$$entry; \
|
||||
if test -f $$entry.html; then tar czf $$entry-html.tar.gz *.html; fi; \
|
||||
if test -f $$entry.html; then ln -fs $${entry}.html index.html;fi ) \
|
||||
fi; \
|
||||
done
|
||||
.endif
|
||||
|
||||
# Set up install dependencies so they happen in the correct order.
|
||||
install: afterinstall
|
||||
afterinstall: realinstall2
|
||||
|
|
Loading…
Reference in a new issue