aboutsummaryrefslogtreecommitdiff
path: root/zh_TW.Big5
diff options
context:
space:
mode:
Diffstat (limited to 'zh_TW.Big5')
-rw-r--r--zh_TW.Big5/Makefile22
-rw-r--r--zh_TW.Big5/books/Makefile.inc4
2 files changed, 11 insertions, 15 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"
diff --git a/zh_TW.Big5/books/Makefile.inc b/zh_TW.Big5/books/Makefile.inc
index 9fe4ab6e42..4afd82d579 100644
--- a/zh_TW.Big5/books/Makefile.inc
+++ b/zh_TW.Big5/books/Makefile.inc
@@ -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}