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 /ja_JP.eucJP/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 'ja_JP.eucJP/Makefile')
-rw-r--r-- | ja_JP.eucJP/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/ja_JP.eucJP/Makefile b/ja_JP.eucJP/Makefile index 5437dadead..8eb19d78ff 100644 --- a/ja_JP.eucJP/Makefile +++ b/ja_JP.eucJP/Makefile @@ -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+= man @@ -6,21 +6,19 @@ SUBDIR+= FAQ 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. # 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/ja \ - /usr/local/share/doc/fdp/${COMPAT_SYMLINK}; \ + if [ ! -e ${DOCDIR}/${COMPAT_SYMLINK} ]; then \ + rm -rf ${DOCDIR}/${COMPAT_SYMLINK}; \ + ln -s ${DOCDIR}/ja \ + ${DOCDIR}/${COMPAT_SYMLINK}; \ fi .endif .include <bsd.subdir.mk> + +DOC_PREFIX = .. +.include "../share/mk/docproj.docbook.mk" |