diff options
author | Nik Clayton <nik@FreeBSD.org> | 1999-08-19 20:36:02 +0000 |
---|---|---|
committer | Nik Clayton <nik@FreeBSD.org> | 1999-08-19 20:36:02 +0000 |
commit | a3163ec30459e3908f9cea029e1dc40efa0f28c9 (patch) | |
tree | 4b4dc9b717b0c62f6a1050573f7734299491a318 /ru_RU.KOI8-R/Makefile | |
parent | 61280f6102c92d8dc5d51ac441c531c44ac58062 (diff) | |
download | doc-a3163ec30459e3908f9cea029e1dc40efa0f28c9.tar.gz doc-a3163ec30459e3908f9cea029e1dc40efa0f28c9.zip |
Honour ${DOCDIR} when installing the documentation.
Notes
Notes:
svn path=/head/; revision=5400
Diffstat (limited to 'ru_RU.KOI8-R/Makefile')
-rw-r--r-- | ru_RU.KOI8-R/Makefile | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/ru_RU.KOI8-R/Makefile b/ru_RU.KOI8-R/Makefile index 08d963c3b0..24ce20f2ba 100644 --- a/ru_RU.KOI8-R/Makefile +++ b/ru_RU.KOI8-R/Makefile @@ -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 @@ -8,19 +8,22 @@ COMPAT_SYMLINK = ru # 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/ru_SU.KOI8-R/books/faq ] || \ - mkdir -p /usr/local/share/doc/fdp/ru_SU.KOI8-R/books/faq + [ -d ${DOCDIR}/ru_SU.KOI8-R/books/faq ] || \ + mkdir -p ${DOCDIR}/ru_SU.KOI8-R/books/faq # # Put the compatability symlink in place. # afterinstall: .if !defined(IGNORE_COMPAT_SYMLINK) - if [ ! -e /usr/local/share/doc/fdp/${COMPAT_SYMLINK} ]; then \ - rm -rf /usr/local/share/doc/fdp/${COMPAT_SYMLINK}; \ - ln -s /usr/local/share/doc/fdp/ru_SU.KOI8-R \ - /usr/local/share/doc/fdp/${COMPAT_SYMLINK}; \ + if [ ! -e ${DOCDIR}/${COMPAT_SYMLINK} ]; then \ + rm -rf ${DOCDIR}/${COMPAT_SYMLINK}; \ + ln -s ${DOCDIR}/ru_SU.KOI8-R \ + ${DOCDIR}/${COMPAT_SYMLINK}; \ fi .endif .include <bsd.subdir.mk> + +DOC_PREFIX = .. +.include "../share/mk/docproj.docbook.mk" |