Add www/ja/doc/Makefile and activate it:

(new) -> 1.8  	doc/Makefile
This commit is contained in:
Hiroki Sato 2002-01-01 14:35:53 +00:00
parent 10b5c2cb3f
commit d3b028f182
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=11556
2 changed files with 44 additions and 2 deletions

View file

@ -1,4 +1,4 @@
# $FreeBSD: www/ja/Makefile,v 1.54 2001/12/12 11:57:38 phantom Exp $
# $FreeBSD: www/ja/Makefile,v 1.55 2001/12/13 19:30:09 phantom Exp $
# The FreeBSD Japanese Documentation Project
# Original revision: 1.75
@ -54,7 +54,7 @@ SUBDIR+= smp
SUBDIR+= conspectus
.if !defined(WEB_ONLY) || empty(WEB_ONLY)
SUBDIR+= ports
# SUBDIR+= doc
SUBDIR+= doc
# .endif
# .if defined(BUILD_RELNOTES)
# SUBDIR+= relnotes

42
ja/doc/Makefile Normal file
View file

@ -0,0 +1,42 @@
#
# $FreeBSD$
# Original revision: 1.8
#
# 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/ja_JP.eucJP; \
${MAKE} FORMATS="html-split html" \
INSTALL_COMPRESSED= NO_JPMAN= all
all-install:
@unset DESTDIR || true; \
cd ${.CURDIR}/../../../doc/ja_JP.eucJP; \
${MAKE} FORMATS="html-split html" DOCDIR=${.OBJDIR} \
INSTALL_COMPRESSED= NO_JPMAN= install
install clean:
@unset DESTDIR || true; \
cd ${.CURDIR}/../../../doc/ja_JP.eucJP; \
${MAKE} FORMATS="html-split html" DOCDIR=${DESTDIR}/data/doc \
INSTALL_COMPRESSED= NO_JPMAN= ${.TARGET}
.if make(clean)
${RM} -rf ja*
.endif
.include "${.CURDIR}/../../share/mk/web.site.mk"
obj: _OBJUSE
_OBJUSE: .USE
@unset DESTDIR || true; \
cd ${.CURDIR}/../../../doc/ja_JP.eucJP; \
${MAKE} ${.TARGET}