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.
This commit is contained in:
Neil Blakey-Milner 2000-09-30 00:21:39 +00:00
parent 892101a84e
commit fbca680c07
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=8047
12 changed files with 68 additions and 60 deletions

View file

@ -1,4 +1,4 @@
# $FreeBSD: www/Makefile,v 1.12 2000/02/28 12:41:23 phantom Exp $
# $FreeBSD: www/Makefile,v 1.13 2000/02/28 13:15:53 phantom Exp $
LINKS= en/ja en/es en/ru en/zh
LINKS+= ja/web.mk es/web.mk ru/web.mk
@ -11,6 +11,10 @@ LINKS+= ../doc/en_US.ISO_8859-1/includes.sgml
SUBDIR= en
.if make(obj)
SUBDIR+= ja es ru zh
.endif
all: links
@ -21,35 +25,36 @@ clean:
en/ja:
cd en; ln -sf ../ja
cd en; ln -sf ${.CURDIR}/ja
en/es:
cd en; ln -sf ../es
cd en; ln -sf ${.CURDIR}/es
en/ru:
cd en; ln -sf ../ru
cd en; ln -sf ${.CURDIR}/ru
en/zh:
cd en; ln -sf ../zh
cd en; ln -sf ${.CURDIR}/zh
ja/web.mk:
cd ja; ln -sf ../en/web.mk
cd ja; ln -sf ${.CURDIR}/en/web.mk
es/web.mk:
cd es; ln -sf ../en/web.mk
cd es; ln -sf ${.CURDIR}/en/web.mk
ru/web.mk:
cd ru; ln -sf ../en/web.mk
cd ru; ln -sf ${.CURDIR}/en/web.mk
web.mk:
cd .; ln -sf en/web.mk
cd .; ln -sf ${.CURDIR}/en/web.mk
.if !defined(WEB_ONLY) || empty(WEB_ONLY)
../doc/en_US.ISO_8859-1/web.mk:
cd ../doc/en_US.ISO_8859-1; ln -sf ../../www/en/web.mk
cd ../doc/en_US.ISO_8859-1; ln -sf ${.CURDIR}/en/web.mk
../doc/en_US.ISO_8859-1/includes.sgml:
cd ../doc/en_US.ISO_8859-1; ln -sf ../../www/en/includes.sgml
cd ../doc/en_US.ISO_8859-1; ln -sf ${.CURDIR}/en/includes.sgml
.endif
.include <bsd.obj.mk>
.include <bsd.subdir.mk>

View file

Internal server error - The gay git

500

Internal server error

Forgejo version: 9.0.3

@ -1,4 +1,4 @@
# $FreeBSD: www/en/Makefile,v 1.51 2000/01/29 14:18:17 wosch Exp $
# $FreeBSD: www/en/Makefile,v 1.52 2000/06/07 00:03:33 nik Exp $
.if exists(Makefile.conf)
.include "Makefile.conf"
.endif
@ -51,16 +51,15 @@ SUBDIR+= ports
SUBDIR+= gifs
SUBDIR+= cgi
WEB_LANG?= ja es ru zh
# 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