doc/en/Makefile
Motoyuki Konno a58e5f25c6 Add new variable WEB_LANG. If set and not empty,
build the specified language page and English page.
1999-02-10 14:53:59 +00:00

74 lines
1.3 KiB
Makefile

# $Id: Makefile,v 1.48 1999-02-10 14:53:59 motoyuki Exp $
.if exists(Makefile.conf)
.include "Makefile.conf"
.endif
# These are turned into validated, normalized HTML files.
DOCS= applications.sgml
DOCS+= auditors.sgml
DOCS+= availability.sgml
DOCS+= docs.sgml
DOCS+= features.sgml
DOCS+= register.sgml
DOCS+= index.sgml
DOCS+= internet.sgml
DOCS+= mailto.sgml
DOCS+= publish.sgml
DOCS+= send-pr.sgml
DOCS+= support.sgml
DOCS+= where.sgml
DOCS+= y2kbug.sgml
CLEANFILES+=atoz.sgml site.sgml
# These will be directly installed.
#DATA= COPYING COPYING.LIB README.mirror robots.txt index.html
DATA= robots.txt index.html
# Subdirectories
# SGML
SUBDIR= security
SUBDIR+= commercial
SUBDIR+= docproj
SUBDIR+= news
SUBDIR+= alpha
SUBDIR+= internal
SUBDIR+= copyright
SUBDIR+= search
SUBDIR+= gallery
SUBDIR+= ports
SUBDIR+= projects
SUBDIR+= releases
# Non-SGML
SUBDIR+= gifs
SUBDIR+= cgi
# Non-English
.if !defined(ENGLISH_ONLY) || empty(ENGLISH_ONLY)
.if !defined(WEB_LANG) || empty(WEB_LANG)
SUBDIR+= ja
SUBDIR+= es
SUBDIR+= ru
SUBDIR+= zh
.else
SUBDIR+= ${WEB_LANG}
.endif
.endif
.if !defined(WEB_ONLY) || empty(WEB_ONLY)
# Extern
SUBDIR+= tutorials
DOCSUBDIR= FAQ handbook
.endif
SGMLOPTS+= -links -hdr ${.CURDIR}/doc.hdr -ftr ${.CURDIR}/doc.ftr
WEBDIR= data
.include "web.mk"