aboutsummaryrefslogtreecommitdiff
path: root/nl_NL.ISO8859-1
diff options
context:
space:
mode:
Diffstat (limited to 'nl_NL.ISO8859-1')
-rw-r--r--nl_NL.ISO8859-1/htdocs/doc/Makefile48
1 files changed, 24 insertions, 24 deletions
diff --git a/nl_NL.ISO8859-1/htdocs/doc/Makefile b/nl_NL.ISO8859-1/htdocs/doc/Makefile
index fd05bafde7..96f02c6250 100644
--- a/nl_NL.ISO8859-1/htdocs/doc/Makefile
+++ b/nl_NL.ISO8859-1/htdocs/doc/Makefile
@@ -1,14 +1,10 @@
#
# $FreeBSD$
-# Original revision: 1.8
#
-# Build the FreeBSD documentation *outside* of the www tree, and install it
+# Build the FreeBSD documentation *outside* of the doc/ 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.
-#
+
.if exists(../Makefile.conf)
.include "../Makefile.conf"
.endif
@@ -16,29 +12,33 @@
.include "../Makefile.inc"
.endif
-all: all-all all-install
+_DOC_FORMATS?= html-split html
+
+all: all-all
+
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 nl*
-.endif
+ ${MAKE} -C ${DOC_PREFIX}/${LANGCODE} FORMATS="${_DOC_FORMATS}" all
+
+all-pgpkeyring:
+ ${MAKE} -C ${DOC_PREFIX}/share/pgpkeys pgpkeyring.txt
+
+clean:
+ ${MAKE} -C ${DOC_PREFIX}/${LANGCODE} FORMATS="${_DOC_FORMATS}" DOCDIR=${DESTDIR}/data/doc clean
+
+# here are dragons
+install:
+ unset DESTDIR || true; \
+ ${MAKE} -C ${DOC_PREFIX}/${LANGCODE} FORMATS="${_DOC_FORMATS}" DOCDIR=${DESTDIR}/data/doc install
+ ${CP} ${DOC_PREFIX}/share/pgpkeys/pgpkeyring.txt ${DESTDIR}/data/doc/pgpkeyring.txt
.include "${DOC_PREFIX}/share/mk/web.site.mk"
+.if ${LANGCODE} == en_US.ISO8859-1
+all: all-pgpkeyring
+.endif
+
+# XXX
obj: _OBJUSE
_OBJUSE: .USE