From 11d6ec686441380552cc22c0f259829c9fde9551 Mon Sep 17 00:00:00 2001 From: Andrey Zakhvatov Date: Sat, 3 Jan 2004 04:37:43 +0000 Subject: [PATCH] Initial import, synchronized with English 1.8 --- ru/doc/Makefile | 59 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 ru/doc/Makefile diff --git a/ru/doc/Makefile b/ru/doc/Makefile new file mode 100644 index 0000000000..42ee075245 --- /dev/null +++ b/ru/doc/Makefile @@ -0,0 +1,59 @@ +# +# The FreeBSD Russian Documentation Project +# +# $FreeBSD$ +# $FreeBSDru: frdp/www/ru/doc/Makefile,v 1.2 2004/01/03 04:36:26 andy Exp $ +# +# Original revision: 1.8 +# + +# +# 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. +# + +all: all-all all-install all-pgpkeyring + +all-all: + @unset DESTDIR || true; \ + cd ${.CURDIR}/../../../doc/ru_RU.KOI8-R; \ + ${MAKE} FORMATS="html-split html" \ + INSTALL_COMPRESSED= all +all-install: + @unset DESTDIR || true; \ + cd ${.CURDIR}/../../../doc/ru_RU.KOI8-R; \ + ${MAKE} FORMATS="html-split html" DOCDIR=${.OBJDIR} \ + INSTALL_COMPRESSED= install +all-pgpkeyring: + @unset DESTDIR || true; \ + cd ${.CURDIR}/../../../doc/ru_RU.KOI8-R/books/handbook; \ + ${MAKE} \ + pgpkeyring > ${.OBJDIR}/pgpkeyring.txt + +install clean: + @unset DESTDIR || true; \ + cd ${.CURDIR}/../../../doc/ru_RU.KOI8-R; \ + ${MAKE} FORMATS="html-split html" DOCDIR=${DESTDIR}/data/doc \ + INSTALL_COMPRESSED= ${.TARGET} +#.if make(install) +# @unset DESTDIR || true; \ +# cd ${.CURDIR}/../../../doc/ru_RU.KOI8-R/books/handbook; \ +# ${MAKE} \ +# pgpkeyring > ${DESTDIR}/data/doc/pgpkeyring.txt +#.endif +.if make(clean) + ${RM} -rf ru* handbook faq +.endif + +.include "${.CURDIR}/../../share/mk/web.site.mk" + +obj: _OBJUSE + +_OBJUSE: .USE + @unset DESTDIR || true; \ + cd ${.CURDIR}/../../../doc/ru_RU.KOI8-R; \ + ${MAKE} ${.TARGET}