diff --git a/en/Makefile b/en/Makefile index d52e7841c8..523ba94126 100644 --- a/en/Makefile +++ b/en/Makefile @@ -1,104 +1,104 @@ -# $FreeBSD: www/en/Makefile,v 1.138 2007/01/07 22:44:45 keramida Exp $ +# $FreeBSD: www/en/Makefile,v 1.139 2007/03/01 08:04:23 joel Exp $ .if exists(Makefile.conf) .include "Makefile.conf" .endif .if exists(../Makefile.inc) .include "../Makefile.inc" .endif # These are turned into validated, normalized HTML files. DOCS= about.sgml DOCS+= administration.sgml DOCS+= applications.sgml DOCS+= art.sgml DOCS+= availability.sgml DOCS+= community.sgml DOCS+= docs.sgml DOCS+= features.sgml DOCS+= internet.sgml DOCS+= logo.sgml DOCS+= mailto.sgml DOCS+= publish.sgml DOCS+= relnotes.sgml DOCS+= send-pr.sgml DOCS+= support.sgml DOCS+= where.sgml DOCS+= y2kbug.sgml XMLDOCS= index:xsl:${XML_NEWS_NEWS}: DEPENDSET.index=transtable mirrors news press events \ advisories notices XMLDOCS+= usergroups:${XSL_USERGROUPS}:${XML_USERGROUPS}: DEPENDSET.usergroups=transtable usergroups PARAMS.usergroups= --param pagename "'FreeBSD User Groups'" # These will be directly installed. DATA= favicon.ico DATA+= freebsd.css DATA+= index.css DATA+= robots.txt DATA+= vendors.html # Subdirectories # SGML SUBDIR= FAQ SUBDIR+= advocacy SUBDIR+= commercial SUBDIR+= community SUBDIR+= copyright SUBDIR+= developers SUBDIR+= docproj SUBDIR+= docs SUBDIR+= donations SUBDIR+= events SUBDIR+= gnome SUBDIR+= handbook SUBDIR+= internal SUBDIR+= java SUBDIR+= kse SUBDIR+= marketing SUBDIR+= news SUBDIR+= platforms SUBDIR+= portmgr SUBDIR+= projects SUBDIR+= prstats SUBDIR+= releases SUBDIR+= releng SUBDIR+= search SUBDIR+= security SUBDIR+= smp SUBDIR+= snapshots SUBDIR+= support SUBDIR+= tutorials .if !defined(WEB_ONLY) || empty(WEB_ONLY) SUBDIR+= doc SUBDIR+= ports .endif .if defined(BUILD_RELNOTES) SUBDIR+= relnotes .endif # Non-SGML SUBDIR+= cgi SUBDIR+= gifs SUBDIR+= layout SUBDIR+= logo -WEB_LANG?= da de es fr hu it ja nl pt_BR ru zh_CN zh_TW -#WEB_LANG?= da de es fr hu it ja nl pt_BR ru tr zh +WEB_LANG?= da de es fr hu it ja mn nl pt_BR ru zh_CN zh_TW +#WEB_LANG?= da de es fr hu it ja mn nl pt_BR ru tr zh # Non-English .if !defined(ENGLISH_ONLY) || empty(ENGLISH_ONLY) .for DIR in ${WEB_LANG} SUBDIR+= ../${DIR} .endfor .endif WEBDIR?= data .include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/mn/Makefile b/mn/Makefile new file mode 100644 index 0000000000..15ed52df1d --- /dev/null +++ b/mn/Makefile @@ -0,0 +1,20 @@ +# $FreeBSD$ + +################################################### +# The FreeBSD Mongolian Documentation Project # +################################################### + +.if exists(Makefile.conf) +.include "Makefile.conf" +.endif +.if exists(../Makefile.inc) +.include "../Makefile.inc" +.endif + +.if !defined(WEB_ONLY) || empty(WEB_ONLY) +SUBDIR= doc +.endif + +WEBDIR?= data/mn + +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/mn/Makefile.inc b/mn/Makefile.inc new file mode 100644 index 0000000000..ae46ae580f --- /dev/null +++ b/mn/Makefile.inc @@ -0,0 +1,4 @@ +# $FreeBSD: www/nl/Makefile.inc,v 1.1 2004/09/27 12:00:03 josef Exp $ + +WEBBASE?= /data/mn +WEB_PREFIX?= ${.CURDIR}/../.. diff --git a/mn/doc/Makefile b/mn/doc/Makefile new file mode 100644 index 0000000000..a76ba28695 --- /dev/null +++ b/mn/doc/Makefile @@ -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 mn* +.endif + +.include "${WEB_PREFIX}/share/mk/web.site.mk" + +obj: _OBJUSE + +_OBJUSE: .USE + @unset DESTDIR || true; \ + cd ${DOC_PREFIX}/${LANGCODE}; \ + ${MAKE} ${.TARGET}