- Add doc "meta directory" for building hu_HU.ISO8859-2 documents
on the webserver Approved by: keramida (mentor)
This commit is contained in:
parent
7db6ec5028
commit
7179df32a0
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=30072
2 changed files with 50 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
# $FreeBSD: www/hu/Makefile,v 1.2 2007/01/09 17:09:54 keramida Exp $
|
||||
# $FreeBSD: www/hu/Makefile,v 1.3 2007/03/26 15:22:53 gabor Exp $
|
||||
|
||||
###################################################
|
||||
# The FreeBSD Hungarian Documentation Project #
|
||||
|
@ -39,6 +39,9 @@ SUBDIR+= platforms
|
|||
SUBDIR+= search
|
||||
SUBDIR+= projects
|
||||
SUBDIR+= support
|
||||
.if !defined(WEB_ONLY) || empty(WEB_ONLY)
|
||||
SUBDIR+= doc
|
||||
.endif
|
||||
|
||||
WEBDIR?= data/hu
|
||||
|
||||
|
@ -51,6 +54,3 @@ DEPENDSET.index= transtable mirrors news press events \
|
|||
advisories notices
|
||||
|
||||
.include "${WEB_PREFIX}/share/mk/web.site.mk"
|
||||
|
||||
# Workaround against the wrong auto-detection of this path
|
||||
XML_MIRRORS:= ${XML_MIRRORS:S@hu*@.@}
|
||||
|
|
46
hu/doc/Makefile
Normal file
46
hu/doc/Makefile
Normal file
|
@ -0,0 +1,46 @@
|
|||
#
|
||||
# $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.
|
||||
#
|
||||
.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 hu*
|
||||
.endif
|
||||
|
||||
.include "${WEB_PREFIX}/share/mk/web.site.mk"
|
||||
|
||||
obj: _OBJUSE
|
||||
|
||||
_OBJUSE: .USE
|
||||
@unset DESTDIR || true; \
|
||||
cd ${DOC_PREFIX}/${LANGCODE}; \
|
||||
${MAKE} ${.TARGET}
|
Loading…
Reference in a new issue