head	1.2;
access;
symbols
	HRS_XML_CLEANUP:1.2
	HRS_XML_CLEANUP_PRE:1.1
	EMILYBOYD_REDESIGN:1.1
	PRE_REDESIGN:1.1;
locks; strict;
comment	@# @;


1.2
date	2006.08.19.21.28.19;	author hrs;	state Exp;
branches;
next	1.1;

1.1
date	2004.01.05.03.05.24;	author lioux;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Catch up with the English version.
@
text
@# The FreeBSD Documentation Project
# The FreeBSD Brazilian Portuguese Documentation Project
#
# Original version: 1.8
#
# $FreeBSD: www/pt_BR/doc/Makefile,v 1.1 2004/01/05 03:05:24 lioux Exp $
#
# 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.
#
.if exists(../Makefile.conf)
.include "../Makefile.conf"
.endif
.if exists(../Makefile.inc)
.include "../Makefile.inc"
.endif

all: all-all all-install

all-all:
	@@unset DESTDIR || true; \
	 cd ${DOC_PREFIX}/${LANGCODE}; \
		${MAKE} FORMATS="html-split html" \
			INSTALL_COMPRESSED= all
all-install:
	@@unset DESTDIR || true; \
	 cd ${DOC_PREFIX}/${LANGCODE}; \
		${MAKE} FORMATS="html-split html" DOCDIR=${.OBJDIR} \
			INSTALL_COMPRESSED= install
install clean:
	@@unset DESTDIR || true; \
	 cd ${DOC_PREFIX}/${LANGCODE}; \
		${MAKE} FORMATS="html-split html" DOCDIR=${DESTDIR}/data/doc \
			INSTALL_COMPRESSED= ${.TARGET}
.if make(clean)
	${RM} -rf pt* faq
.endif

.include "${WEB_PREFIX}/share/mk/web.site.mk"

obj: _OBJUSE

_OBJUSE: .USE
	@@unset DESTDIR || true; \
	 cd ${DOC_PREFIX}/${LANGCODE}; \
		${MAKE} ${.TARGET}
@


1.1
log
@Install all the documentation to a single root with the same naming
scheme as that used by the doc/ repo.

Original version:	1.8
@
text
@d6 1
a6 1
# $FreeBSD$
d15 6
d25 2
a26 2
	unset DESTDIR || true; \
	 cd ${.CURDIR}/../../../doc/pt_BR.ISO8859-1; \
d30 2
a31 2
	unset DESTDIR || true; \
	 cd ${.CURDIR}/../../../doc/pt_BR.ISO8859-1; \
a33 1

d35 2
a36 2
	unset DESTDIR || true; \
	 cd ${.CURDIR}/../../../doc/pt_BR.ISO8859-1; \
d43 1
a43 1
.include "${.CURDIR}/../../share/mk/web.site.mk"
d49 1
a49 1
	 cd ${.CURDIR}/../../../doc/pt_BR.ISO8859-1; \
@

