Install all the documentation to a single root with the same naming
scheme as that used by the doc/ repo. Original version: 1.8
This commit is contained in:
parent
fc7ea44685
commit
db8046ca6f
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=19485
1 changed files with 45 additions and 0 deletions
45
pt_BR/doc/Makefile
Normal file
45
pt_BR/doc/Makefile
Normal file
|
@ -0,0 +1,45 @@
|
|||
# The FreeBSD Documentation Project
|
||||
# The FreeBSD Brazilian Portuguese Documentation Project
|
||||
#
|
||||
# Original version: 1.8
|
||||
#
|
||||
# $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/pt_BR.ISO8859-1; \
|
||||
${MAKE} FORMATS="html-split html" \
|
||||
INSTALL_COMPRESSED= all
|
||||
all-install:
|
||||
unset DESTDIR || true; \
|
||||
cd ${.CURDIR}/../../../doc/pt_BR.ISO8859-1; \
|
||||
${MAKE} FORMATS="html-split html" DOCDIR=${.OBJDIR} \
|
||||
INSTALL_COMPRESSED= install
|
||||
|
||||
install clean:
|
||||
unset DESTDIR || true; \
|
||||
cd ${.CURDIR}/../../../doc/pt_BR.ISO8859-1; \
|
||||
${MAKE} FORMATS="html-split html" DOCDIR=${DESTDIR}/data/doc \
|
||||
INSTALL_COMPRESSED= ${.TARGET}
|
||||
.if make(clean)
|
||||
${RM} -rf pt* faq
|
||||
.endif
|
||||
|
||||
.include "${.CURDIR}/../../share/mk/web.site.mk"
|
||||
|
||||
obj: _OBJUSE
|
||||
|
||||
_OBJUSE: .USE
|
||||
@unset DESTDIR || true; \
|
||||
cd ${.CURDIR}/../../../doc/pt_BR.ISO8859-1; \
|
||||
${MAKE} ${.TARGET}
|
Loading…
Reference in a new issue