Add a www/el/ subdir, to make the Greek documentation builds
visible to the world too. Submitted by: Manolis Kiagias, sonicy at otenet.gr
This commit is contained in:
parent
b859a0cfb8
commit
03fac764f4
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=31458
3 changed files with 89 additions and 0 deletions
23
el/Makefile
Normal file
23
el/Makefile
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
#
|
||||||
|
# The FreeBSD Greek Documentation Project
|
||||||
|
# Makefile for www/el directory (should be created)
|
||||||
|
#
|
||||||
|
# %SOURCE% mn/Makefile
|
||||||
|
# %SRCID% 1.1
|
||||||
|
|
||||||
|
.if exists(Makefile.conf)
|
||||||
|
.include "Makefile.conf"
|
||||||
|
.endif
|
||||||
|
.if exists(../Makefile.inc)
|
||||||
|
.include "../Makefile.inc"
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if !defined(WEB_ONLY) || empty(WEB_ONLY)
|
||||||
|
SUBDIR= doc
|
||||||
|
.endif
|
||||||
|
|
||||||
|
WEBDIR?= data/el
|
||||||
|
|
||||||
|
.include "${WEB_PREFIX}/share/mk/web.site.mk"
|
||||||
11
el/Makefile.inc
Normal file
11
el/Makefile.inc
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
# The FreeBSD Greek Documentation Project
|
||||||
|
# Makefile.inc for www/el directory (should be created)
|
||||||
|
#
|
||||||
|
# %SOURCE% mn/Makefile.inc
|
||||||
|
# %SRCID% 1.1
|
||||||
|
#
|
||||||
|
|
||||||
|
WEBBASE?= /data/el
|
||||||
|
WEB_PREFIX?= ${.CURDIR}/../..
|
||||||
55
el/doc/Makefile
Normal file
55
el/doc/Makefile
Normal file
|
|
@ -0,0 +1,55 @@
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# The FreeBSD Greek Documentation Project
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
|
# This file should be placed in the www/el/doc directory
|
||||||
|
# (which should be created)
|
||||||
|
#
|
||||||
|
# %SOURCE% mn/doc/Makefile
|
||||||
|
# %SRCID% 1.1
|
||||||
|
#
|
||||||
|
.if exists(../Makefile.conf)
|
||||||
|
.include "../Makefile.conf"
|
||||||
|
.endif
|
||||||
|
.if exists(../Makefile.inc)
|
||||||
|
.include "../Makefile.inc"
|
||||||
|
.endif
|
||||||
|
|
||||||
|
all: all-all all-install
|
||||||
|
|
||||||
|
all-all:
|
||||||
|
@unset DESTDIR || true; \
|
||||||
|
cd ${DOC_PREFIX}/${LANGCODE}; \
|
||||||
|
${MAKE} FORMATS="html-split html" \
|
||||||
|
INSTALL_COMPRESSED= all
|
||||||
|
all-install:
|
||||||
|
@unset DESTDIR || true; \
|
||||||
|
cd ${DOC_PREFIX}/${LANGCODE}; \
|
||||||
|
${MAKE} FORMATS="html-split html" DOCDIR=${.OBJDIR} \
|
||||||
|
INSTALL_COMPRESSED= install
|
||||||
|
install clean:
|
||||||
|
@unset DESTDIR || true; \
|
||||||
|
cd ${DOC_PREFIX}/${LANGCODE}; \
|
||||||
|
${MAKE} FORMATS="html-split html" DOCDIR=${DESTDIR}/data/doc \
|
||||||
|
INSTALL_COMPRESSED= ${.TARGET}
|
||||||
|
.if make(clean)
|
||||||
|
${RM} -rf el*
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.include "${WEB_PREFIX}/share/mk/web.site.mk"
|
||||||
|
|
||||||
|
obj: _OBJUSE
|
||||||
|
|
||||||
|
_OBJUSE: .USE
|
||||||
|
@unset DESTDIR || true; \
|
||||||
|
cd ${DOC_PREFIX}/${LANGCODE}; \
|
||||||
|
${MAKE} ${.TARGET}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue