Honour ${DOCDIR} when installing the documentation.

This commit is contained in:
Nik Clayton 1999-08-19 20:36:02 +00:00
parent 61280f6102
commit a3163ec304
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=5400
16 changed files with 77 additions and 83 deletions
en_US.ISO8859-1
en_US.ISO_8859-1
es_ES.ISO8859-1
es_ES.ISO_8859-1
ja_JP.eucJP
ru_RU.KOI8-R
zh_TW.Big5

View file

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.2 1999-08-16 22:09:04 nik Exp $ # $Id: Makefile,v 1.3 1999-08-19 20:35:53 nik Exp $
SUBDIR = articles SUBDIR = articles
SUBDIR+= books SUBDIR+= books
@ -10,11 +10,14 @@ COMPAT_SYMLINK = en
# #
afterinstall: afterinstall:
.if !defined(IGNORE_COMPAT_SYMLINK) .if !defined(IGNORE_COMPAT_SYMLINK)
if [ ! -e /usr/local/share/doc/fdp/${COMPAT_SYMLINK} ]; then \ if [ ! -e ${DOCDIR}/${COMPAT_SYMLINK} ]; then \
rm -rf /usr/local/share/doc/fdp/${COMPAT_SYMLINK}; \ rm -rf ${DOCDIR}/${COMPAT_SYMLINK}; \
ln -s /usr/local/share/doc/fdp/en_US.ISO_8859-1 \ ln -s ${DOCDIR}/en_US.ISO_8859-1 \
/usr/local/share/doc/fdp/${COMPAT_SYMLINK}; \ ${DOCDIR}/${COMPAT_SYMLINK}; \
fi fi
.endif .endif
.include <bsd.subdir.mk> .include <bsd.subdir.mk>
DOC_PREFIX?= ..
.include "../share/mk/docproj.docbook.mk"

View file

@ -1,5 +1,5 @@
# #
# $Id: Makefile.inc,v 1.1 1999-08-16 22:09:19 nik Exp $ # $Id: Makefile.inc,v 1.2 1999-08-19 20:35:55 nik Exp $
# #
DESTDIR?= ${DOC_INSTALL_PREFIX}/en_US.ISO_8859-1/articles/${.CURDIR:T} DESTDIR?= ${DOCDIR}/en_US.ISO_8859-1/articles/${.CURDIR:T}

View file

@ -1,5 +1,5 @@
# #
# $Id: Makefile.inc,v 1.1 1999-08-16 22:09:05 nik Exp $ # $Id: Makefile.inc,v 1.2 1999-08-19 20:35:56 nik Exp $
# #
DESTDIR?= ${DOC_INSTALL_PREFIX}/en_US.ISO_8859-1/books/${.CURDIR:T} DESTDIR?= ${DOCDIR}/en_US.ISO_8859-1/books/${.CURDIR:T}

View file

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.2 1999-08-16 22:09:04 nik Exp $ # $Id: Makefile,v 1.3 1999-08-19 20:35:53 nik Exp $
SUBDIR = articles SUBDIR = articles
SUBDIR+= books SUBDIR+= books
@ -10,11 +10,14 @@ COMPAT_SYMLINK = en
# #
afterinstall: afterinstall:
.if !defined(IGNORE_COMPAT_SYMLINK) .if !defined(IGNORE_COMPAT_SYMLINK)
if [ ! -e /usr/local/share/doc/fdp/${COMPAT_SYMLINK} ]; then \ if [ ! -e ${DOCDIR}/${COMPAT_SYMLINK} ]; then \
rm -rf /usr/local/share/doc/fdp/${COMPAT_SYMLINK}; \ rm -rf ${DOCDIR}/${COMPAT_SYMLINK}; \
ln -s /usr/local/share/doc/fdp/en_US.ISO_8859-1 \ ln -s ${DOCDIR}/en_US.ISO_8859-1 \
/usr/local/share/doc/fdp/${COMPAT_SYMLINK}; \ ${DOCDIR}/${COMPAT_SYMLINK}; \
fi fi
.endif .endif
.include <bsd.subdir.mk> .include <bsd.subdir.mk>
DOC_PREFIX?= ..
.include "../share/mk/docproj.docbook.mk"

View file

@ -1,5 +1,5 @@
# #
# $Id: Makefile.inc,v 1.1 1999-08-16 22:09:19 nik Exp $ # $Id: Makefile.inc,v 1.2 1999-08-19 20:35:55 nik Exp $
# #
DESTDIR?= ${DOC_INSTALL_PREFIX}/en_US.ISO_8859-1/articles/${.CURDIR:T} DESTDIR?= ${DOCDIR}/en_US.ISO_8859-1/articles/${.CURDIR:T}

View file

@ -1,5 +1,5 @@
# #
# $Id: Makefile.inc,v 1.1 1999-08-16 22:09:05 nik Exp $ # $Id: Makefile.inc,v 1.2 1999-08-19 20:35:56 nik Exp $
# #
DESTDIR?= ${DOC_INSTALL_PREFIX}/en_US.ISO_8859-1/books/${.CURDIR:T} DESTDIR?= ${DOCDIR}/en_US.ISO_8859-1/books/${.CURDIR:T}

View file

@ -1,26 +1,22 @@
# $Id: Makefile,v 1.3 1999-08-19 00:08:37 nik Exp $ # $Id: Makefile,v 1.4 1999-08-19 20:35:57 nik Exp $
SUBDIR = books SUBDIR = books
COMPAT_SYMLINK = es COMPAT_SYMLINK = es
#
# XXX Kludge -- this directory probably doesn't exist yet. Pull this out
# when the FAQ is DocBook'ed
beforeinstall:
[ -d /usr/local/share/doc/fdp/es_ES.ISO_8859-1/books/faq ] || \
mkdir -p /usr/local/share/doc/fdp/es_ES.ISO_8859-1/books/faq
# #
# Put the compatability symlink in place. # Put the compatability symlink in place.
# #
afterinstall: afterinstall:
.if !defined(IGNORE_COMPAT_SYMLINK) .if !defined(IGNORE_COMPAT_SYMLINK)
if [ ! -e /usr/local/share/doc/fdp/${COMPAT_SYMLINK} ]; then \ if [ ! -e ${DOCDIR}/${COMPAT_SYMLINK} ]; then \
rm -rf /usr/local/share/doc/fdp/${COMPAT_SYMLINK}; \ rm -rf ${DOCDIR}/${COMPAT_SYMLINK}; \
ln -s /usr/local/share/doc/fdp/es_ES.ISO_8859-1 \ ln -s ${DOCDIR}/es_ES.ISO_8859-1 \
/usr/local/share/doc/fdp/${COMPAT_SYMLINK}; \ ${DOCDIR}/${COMPAT_SYMLINK}; \
fi fi
.endif .endif
.include <bsd.subdir.mk> .include <bsd.subdir.mk>
DOC_PREFIX = ..
.include "../share/mk/docproj.docbook.mk"

View file

@ -1,5 +1,5 @@
# #
# $Id: Makefile.inc,v 1.1 1999-08-19 00:07:58 nik Exp $ # $Id: Makefile.inc,v 1.2 1999-08-19 20:35:58 nik Exp $
# #
DESTDIR?= ${DOC_INSTALL_PREFIX}/es_ES.ISO_8859-1/books/${.CURDIR:T} DESTDIR?= ${DOCDIR}/es_ES.ISO_8859-1/books/${.CURDIR:T}

View file

@ -1,26 +1,22 @@
# $Id: Makefile,v 1.3 1999-08-19 00:08:37 nik Exp $ # $Id: Makefile,v 1.4 1999-08-19 20:35:57 nik Exp $
SUBDIR = books SUBDIR = books
COMPAT_SYMLINK = es COMPAT_SYMLINK = es
#
# XXX Kludge -- this directory probably doesn't exist yet. Pull this out
# when the FAQ is DocBook'ed
beforeinstall:
[ -d /usr/local/share/doc/fdp/es_ES.ISO_8859-1/books/faq ] || \
mkdir -p /usr/local/share/doc/fdp/es_ES.ISO_8859-1/books/faq
# #
# Put the compatability symlink in place. # Put the compatability symlink in place.
# #
afterinstall: afterinstall:
.if !defined(IGNORE_COMPAT_SYMLINK) .if !defined(IGNORE_COMPAT_SYMLINK)
if [ ! -e /usr/local/share/doc/fdp/${COMPAT_SYMLINK} ]; then \ if [ ! -e ${DOCDIR}/${COMPAT_SYMLINK} ]; then \
rm -rf /usr/local/share/doc/fdp/${COMPAT_SYMLINK}; \ rm -rf ${DOCDIR}/${COMPAT_SYMLINK}; \
ln -s /usr/local/share/doc/fdp/es_ES.ISO_8859-1 \ ln -s ${DOCDIR}/es_ES.ISO_8859-1 \
/usr/local/share/doc/fdp/${COMPAT_SYMLINK}; \ ${DOCDIR}/${COMPAT_SYMLINK}; \
fi fi
.endif .endif
.include <bsd.subdir.mk> .include <bsd.subdir.mk>
DOC_PREFIX = ..
.include "../share/mk/docproj.docbook.mk"

View file

@ -1,5 +1,5 @@
# #
# $Id: Makefile.inc,v 1.1 1999-08-19 00:07:58 nik Exp $ # $Id: Makefile.inc,v 1.2 1999-08-19 20:35:58 nik Exp $
# #
DESTDIR?= ${DOC_INSTALL_PREFIX}/es_ES.ISO_8859-1/books/${.CURDIR:T} DESTDIR?= ${DOCDIR}/es_ES.ISO_8859-1/books/${.CURDIR:T}

View file

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.6 1999-08-16 22:09:11 nik Exp $ # $Id: Makefile,v 1.7 1999-08-19 20:35:58 nik Exp $
SUBDIR = books SUBDIR = books
SUBDIR+= man SUBDIR+= man
@ -6,21 +6,19 @@ SUBDIR+= FAQ
COMPAT_SYMLINK = ja_JP.eucJP COMPAT_SYMLINK = ja_JP.eucJP
# XXX Kludge -- pull this out when the FAQ is in DocBook
beforeinstall:
[ -d /usr/local/share/doc/fdp/ja/books/faq ] || \
mkdir -p /usr/local/share/doc/fdp/ja/books/faq
# #
# Put the compatability symlink in place. # Put the compatability symlink in place.
# #
afterinstall: afterinstall:
.if !defined(IGNORE_COMPAT_SYMLINK) .if !defined(IGNORE_COMPAT_SYMLINK)
if [ ! -e /usr/local/share/doc/fdp/${COMPAT_SYMLINK} ]; then \ if [ ! -e ${DOCDIR}/${COMPAT_SYMLINK} ]; then \
rm -rf /usr/local/share/doc/fdp/${COMPAT_SYMLINK}; \ rm -rf ${DOCDIR}/${COMPAT_SYMLINK}; \
ln -s /usr/local/share/doc/fdp/ja \ ln -s ${DOCDIR}/ja \
/usr/local/share/doc/fdp/${COMPAT_SYMLINK}; \ ${DOCDIR}/${COMPAT_SYMLINK}; \
fi fi
.endif .endif
.include <bsd.subdir.mk> .include <bsd.subdir.mk>
DOC_PREFIX = ..
.include "../share/mk/docproj.docbook.mk"

View file

@ -1,5 +1,5 @@
# #
# $Id: Makefile.inc,v 1.1 1999-08-16 22:09:20 nik Exp $ # $Id: Makefile.inc,v 1.2 1999-08-19 20:35:59 nik Exp $
# #
DESTDIR?= ${DOC_INSTALL_PREFIX}/ja/books/${.CURDIR:T} DESTDIR?= ${DOCDIR}/ja/books/${.CURDIR:T}

View file

@ -1,10 +1,9 @@
# $Id: Makefile,v 1.3 1999-08-16 22:09:17 nik Exp $ # $Id: Makefile,v 1.4 1999-08-19 20:36:01 nik Exp $
.NOTPARALLEL: .NOTPARALLEL:
DOC= FAQ DOC= FAQ
VOLUME= faq DESTDIR= ${DOCDIR}/ru_RU.KOI8-R
DOCDIR= /usr/local/share/doc/fdp/ru_SU.KOI8-R/books
FORMATS?= html roff FORMATS?= html roff
SGMLOPTS+=-e koi8-r SGMLOPTS+=-e koi8-r
SGMLOPTS+=-links SGMLOPTS+=-links

View file

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.2 1999-08-16 22:09:16 nik Exp $ # $Id: Makefile,v 1.3 1999-08-19 20:36:00 nik Exp $
SUBDIR = FAQ SUBDIR = FAQ
@ -8,19 +8,22 @@ COMPAT_SYMLINK = ru
# XXX Kludge -- this directory probably doesn't exist yet. Pull this out # XXX Kludge -- this directory probably doesn't exist yet. Pull this out
# when the FAQ is DocBook'ed # when the FAQ is DocBook'ed
beforeinstall: beforeinstall:
[ -d /usr/local/share/doc/fdp/ru_SU.KOI8-R/books/faq ] || \ [ -d ${DOCDIR}/ru_SU.KOI8-R/books/faq ] || \
mkdir -p /usr/local/share/doc/fdp/ru_SU.KOI8-R/books/faq mkdir -p ${DOCDIR}/ru_SU.KOI8-R/books/faq
# #
# Put the compatability symlink in place. # Put the compatability symlink in place.
# #
afterinstall: afterinstall:
.if !defined(IGNORE_COMPAT_SYMLINK) .if !defined(IGNORE_COMPAT_SYMLINK)
if [ ! -e /usr/local/share/doc/fdp/${COMPAT_SYMLINK} ]; then \ if [ ! -e ${DOCDIR}/${COMPAT_SYMLINK} ]; then \
rm -rf /usr/local/share/doc/fdp/${COMPAT_SYMLINK}; \ rm -rf ${DOCDIR}/${COMPAT_SYMLINK}; \
ln -s /usr/local/share/doc/fdp/ru_SU.KOI8-R \ ln -s ${DOCDIR}/ru_SU.KOI8-R \
/usr/local/share/doc/fdp/${COMPAT_SYMLINK}; \ ${DOCDIR}/${COMPAT_SYMLINK}; \
fi fi
.endif .endif
.include <bsd.subdir.mk> .include <bsd.subdir.mk>
DOC_PREFIX = ..
.include "../share/mk/docproj.docbook.mk"

View file

@ -1,26 +1,22 @@
# $Id: Makefile,v 1.2 1999-08-17 21:35:56 nik Exp $ # $Id: Makefile,v 1.3 1999-08-19 20:36:02 nik Exp $
SUBDIR = FAQ SUBDIR = books
COMPAT_SYMLINK = zh COMPAT_SYMLINK = zh
#
# XXX Kludge -- this directory probably doesn't exist yet. Pull this out
# when the FAQ is DocBook'ed
beforeinstall:
[ -d /usr/local/share/doc/fdp/zh_TW.Big5/books/faq ] || \
mkdir -p /usr/local/share/doc/fdp/zh_TW.Big5/books/faq
# #
# Put the compatability symlink in place. # Put the compatability symlink in place.
# #
afterinstall: afterinstall:
.if !defined(IGNORE_COMPAT_SYMLINK) .if !defined(IGNORE_COMPAT_SYMLINK)
if [ ! -e /usr/local/share/doc/fdp/${COMPAT_SYMLINK} ]; then \ if [ ! -e ${DOCDIR}/${COMPAT_SYMLINK} ]; then \
rm -rf /usr/local/share/doc/fdp/${COMPAT_SYMLINK}; \ rm -rf ${DOCDIR}/${COMPAT_SYMLINK}; \
ln -s /usr/local/share/doc/fdp/zh_TW.Big5 \ ln -s ${DOCDIR}/zh_TW.Big5 \
/usr/local/share/doc/fdp/${COMPAT_SYMLINK}; \ ${DOCDIR}/${COMPAT_SYMLINK}; \
fi fi
.endif .endif
.include <bsd.subdir.mk> .include <bsd.subdir.mk>
DOC_PREFIX = ..
.include "../share/mk/docproj.docbook.mk"

View file

@ -1,5 +1,5 @@
# #
# $Id: Makefile.inc,v 1.1 1999-08-19 03:56:49 foxfair Exp $ # $Id: Makefile.inc,v 1.2 1999-08-19 20:36:02 nik Exp $
# #
DESTDIR?= ${DOC_INSTALL_PREFIX}/zh_TW.Big5/books/${.CURDIR:T} DESTDIR?= ${DOCDIR}/zh_TW.Big5/books/${.CURDIR:T}