aboutsummaryrefslogtreecommitdiff
path: root/zh_TW.Big5/Makefile
diff options
context:
space:
mode:
authorNik Clayton <nik@FreeBSD.org>1999-08-19 20:36:02 +0000
committerNik Clayton <nik@FreeBSD.org>1999-08-19 20:36:02 +0000
commita3163ec30459e3908f9cea029e1dc40efa0f28c9 (patch)
tree4b4dc9b717b0c62f6a1050573f7734299491a318 /zh_TW.Big5/Makefile
parent61280f6102c92d8dc5d51ac441c531c44ac58062 (diff)
downloaddoc-a3163ec30459e3908f9cea029e1dc40efa0f28c9.tar.gz
doc-a3163ec30459e3908f9cea029e1dc40efa0f28c9.zip
Honour ${DOCDIR} when installing the documentation.
Notes
Notes: svn path=/head/; revision=5400
Diffstat (limited to 'zh_TW.Big5/Makefile')
-rw-r--r--zh_TW.Big5/Makefile22
1 files changed, 9 insertions, 13 deletions
diff --git a/zh_TW.Big5/Makefile b/zh_TW.Big5/Makefile
index 3218690f1f..1874aba5e0 100644
--- a/zh_TW.Big5/Makefile
+++ b/zh_TW.Big5/Makefile
@@ -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
-#
-# 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.
#
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/zh_TW.Big5 \
- /usr/local/share/doc/fdp/${COMPAT_SYMLINK}; \
+ if [ ! -e ${DOCDIR}/${COMPAT_SYMLINK} ]; then \
+ rm -rf ${DOCDIR}/${COMPAT_SYMLINK}; \
+ ln -s ${DOCDIR}/zh_TW.Big5 \
+ ${DOCDIR}/${COMPAT_SYMLINK}; \
fi
.endif
.include <bsd.subdir.mk>
+
+DOC_PREFIX = ..
+.include "../share/mk/docproj.docbook.mk"