Integrate building the spanish handbook with the spanish web.
This commit is contained in:
parent
1f980b6c9c
commit
5948a4cf91
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=15033
3 changed files with 69 additions and 13 deletions
17
es/Makefile
17
es/Makefile
|
@ -1,4 +1,4 @@
|
|||
# $FreeBSD: www/es/Makefile,v 1.11 2001/06/30 20:31:48 jesusr Exp $
|
||||
# $FreeBSD: www/es/Makefile,v 1.12 2001/12/12 11:57:37 phantom Exp $
|
||||
|
||||
.if exists(Makefile.conf)
|
||||
.include "Makefile.conf"
|
||||
|
@ -46,27 +46,18 @@ SUBDIR+= search
|
|||
SUBDIR+= projects
|
||||
SUBDIR+= releases
|
||||
#SUBDIR+= doc-es
|
||||
|
||||
.if !defined(WEB_ONLY) || empty(WEB_ONLY)
|
||||
SUBDIR+= ports
|
||||
SUBDIR+= doc
|
||||
.endif
|
||||
|
||||
# Non-SGML
|
||||
#SUBDIR+= gifs
|
||||
#SUBDIR+= cgi
|
||||
|
||||
# Non-English
|
||||
#.if !defined(ENGLISH_ONLY) || empty(ENGLISH_ONLY)
|
||||
#SUBDIR+= ja
|
||||
#SUBDIR+= es
|
||||
#.endif
|
||||
|
||||
.if !defined(WEB_ONLY) || empty(WEB_ONLY)
|
||||
# Extern
|
||||
#SUBDIR+= tutorials
|
||||
|
||||
#DOCSUBDIR= FAQ handbook
|
||||
DOCSUBDIR= FAQ
|
||||
.endif
|
||||
|
||||
SGMLFLAGS+= -links -hdr ${.CURDIR}/doc.hdr -ftr ${.CURDIR}/doc.ftr
|
||||
|
||||
WEBDIR= data/es
|
||||
|
|
40
es/doc/Makefile
Normal file
40
es/doc/Makefile
Normal file
|
@ -0,0 +1,40 @@
|
|||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
# Build the FreeBSD documentation *outside* of the www tree, and install it
|
||||
# in to the right place as necessary.
|
||||
#
|
||||
# This assumes that you have the www/ and doc/ trees checked out beside
|
||||
# one another -- this was always the case anyway, so there are no extra
|
||||
# requirements here.
|
||||
#
|
||||
|
||||
all: all-all all-install
|
||||
|
||||
all-all:
|
||||
@unset DESTDIR || true; \
|
||||
cd ${.CURDIR}/../../../doc/es_ES.ISO8859-1; \
|
||||
${MAKE} FORMATS="html-split html" \
|
||||
INSTALL_COMPRESSED= all
|
||||
all-install:
|
||||
@unset DESTDIR || true; \
|
||||
cd ${.CURDIR}/../../../doc/es_ES.ISO8859-1; \
|
||||
${MAKE} FORMATS="html-split html" DOCDIR=${.OBJDIR} \
|
||||
INSTALL_COMPRESSED= install
|
||||
install clean:
|
||||
@unset DESTDIR || true; \
|
||||
cd ${.CURDIR}/../../../doc/es_ES.ISO8859-1; \
|
||||
${MAKE} FORMATS="html-split html" DOCDIR=${DESTDIR}/data/doc \
|
||||
INSTALL_COMPRESSED= ${.TARGET}
|
||||
.if make(clean)
|
||||
${RM} -rf es*
|
||||
.endif
|
||||
|
||||
.include "${.CURDIR}/../../share/mk/web.site.mk"
|
||||
|
||||
obj: _OBJUSE
|
||||
|
||||
_OBJUSE: .USE
|
||||
@unset DESTDIR || true; \
|
||||
cd ${.CURDIR}/../../../doc/es_ES.ISO8859-1; \
|
||||
${MAKE} ${.TARGET}
|
25
es/handbook/Makefile
Normal file
25
es/handbook/Makefile
Normal file
|
@ -0,0 +1,25 @@
|
|||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
.if exists(../Makefile.conf)
|
||||
.include "../Makefile.conf"
|
||||
.endif
|
||||
.if exists(../Makefile.inc)
|
||||
.include "../Makefile.inc"
|
||||
.endif
|
||||
|
||||
# At build time, we have to link to the doc/ directory at the same level
|
||||
# as the www/ tree.
|
||||
all:
|
||||
${LN} -fs ${.OBJDIR}/../../../doc/es_ES.ISO8859-1/books/handbook/* .
|
||||
|
||||
# At install time the ../doc/ directory has been populated, so we can
|
||||
# link in to there instead.
|
||||
install:
|
||||
[ -d ${DOCINSTALLDIR} ] || ${MKDIR} ${DOCINSTALLDIR}
|
||||
cd ${DOCINSTALLDIR}; \
|
||||
${LN} -fs ../doc/es_ES.ISO8859-1/books/handbook/* \
|
||||
${DOCINSTALLDIR}
|
||||
|
||||
.include "${WEB_PREFIX}/share/mk/web.site.mk"
|
Loading…
Reference in a new issue