aboutsummaryrefslogtreecommitdiff
path: root/en_US.ISO_8859-1/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 /en_US.ISO_8859-1/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 'en_US.ISO_8859-1/Makefile')
-rw-r--r--en_US.ISO_8859-1/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/en_US.ISO_8859-1/Makefile b/en_US.ISO_8859-1/Makefile
index 8b2cf5b6de..6debd4bfa4 100644
--- a/en_US.ISO_8859-1/Makefile
+++ b/en_US.ISO_8859-1/Makefile
@@ -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+= books
@@ -10,11 +10,14 @@ COMPAT_SYMLINK = en
#
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/en_US.ISO_8859-1 \
- /usr/local/share/doc/fdp/${COMPAT_SYMLINK}; \
+ if [ ! -e ${DOCDIR}/${COMPAT_SYMLINK} ]; then \
+ rm -rf ${DOCDIR}/${COMPAT_SYMLINK}; \
+ ln -s ${DOCDIR}/en_US.ISO_8859-1 \
+ ${DOCDIR}/${COMPAT_SYMLINK}; \
fi
.endif
.include <bsd.subdir.mk>
+
+DOC_PREFIX?= ..
+.include "../share/mk/docproj.docbook.mk"