doc/Makefile

63 lines
1 KiB
Makefile
Raw Normal View History

# $FreeBSD: www/Makefile,v 1.14 2000/09/30 00:21:38 nbm Exp $
WEB_PREFIX= ${.CURDIR}
1998-08-04 17:13:17 +02:00
LINKS= en/ja en/es en/ru en/zh
LINKS+= ja/web.mk es/web.mk ru/web.mk
LINKS+= web.mk
.if !defined(WEB_ONLY) || empty(WEB_ONLY)
LINKS+= ../doc/en_US.ISO_8859-1/web.mk
LINKS+= ../doc/en_US.ISO_8859-1/includes.sgml
.endif
1998-08-04 17:13:17 +02:00
SUBDIR= en
.if make(obj)
SUBDIR+= ja es ru zh
.endif
1998-08-04 17:13:17 +02:00
all: links
links: ${LINKS}
clean:
rm -f ${LINKS}
en/ja:
cd en; ln -sf ${.CURDIR}/ja
1998-08-04 17:13:17 +02:00
en/es:
cd en; ln -sf ${.CURDIR}/es
1998-08-04 17:13:17 +02:00
1998-12-30 18:54:06 +01:00
en/ru:
cd en; ln -sf ${.CURDIR}/ru
1998-12-30 18:54:06 +01:00
1999-02-03 14:25:29 +01:00
en/zh:
cd en; ln -sf ${.CURDIR}/zh
1999-02-03 14:25:29 +01:00
1998-08-04 17:13:17 +02:00
ja/web.mk:
cd ja; ln -sf ${.CURDIR}/en/web.mk
1998-08-04 17:13:17 +02:00
es/web.mk:
cd es; ln -sf ${.CURDIR}/en/web.mk
ru/web.mk:
cd ru; ln -sf ${.CURDIR}/en/web.mk
1998-08-04 17:13:17 +02:00
web.mk:
cd .; ln -sf ${.CURDIR}/en/web.mk
1998-08-04 17:13:17 +02:00
.if !defined(WEB_ONLY) || empty(WEB_ONLY)
../doc/en_US.ISO_8859-1/web.mk:
cd ../doc/en_US.ISO_8859-1; ln -sf ${.CURDIR}/en/web.mk
1998-08-04 17:13:17 +02:00
../doc/en_US.ISO_8859-1/includes.sgml:
cd ../doc/en_US.ISO_8859-1; ln -sf ${.CURDIR}/en/includes.sgml
.endif
1998-08-04 17:13:17 +02:00
.include <bsd.obj.mk>
1998-08-04 17:13:17 +02:00
.include <bsd.subdir.mk>