doc/en/Makefile
Neil Blakey-Milner fbca680c07 First (and very minor) changes on the way to make the www build
obj-clean.

This basically entails putting ${.CURDIR} in front of the occasional
source file, script, or directory.

Also adds '.include <bsd.obj.mk>' to web.mk so 'make obj' works.

Change gencommercial script to take a '-s' flag pointing to the source
directory, and the portindex script to take an optional additional
parameter indicating the source directory.

Add -D ${.CURDIR} to sgmlformat to follow includes properly.
2000-09-30 00:21:39 +00:00

76 lines
1.3 KiB
Makefile

# $FreeBSD: www/en/Makefile,v 1.52 2000/06/07 00:03:33 nik 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+= java
SUBDIR+= copyright
SUBDIR+= search
SUBDIR+= gallery
SUBDIR+= projects
SUBDIR+= releases
SUBDIR+= conspectus
.if !defined(WEB_ONLY) || empty(WEB_ONLY)
SUBDIR+= ports
.endif
# Non-SGML
SUBDIR+= gifs
SUBDIR+= cgi
WEB_LANG?= ja es ru zh
# Non-English
.if !defined(ENGLISH_ONLY) || empty(ENGLISH_ONLY)
.for DIR in ${WEB_LANG}
#SUBDIR+= ../${DIR}
SUBDIR+= ${DIR}
.endfor
.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"