aboutsummaryrefslogtreecommitdiff
path: root/es_ES.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 /es_ES.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 'es_ES.ISO_8859-1/Makefile')
-rw-r--r--es_ES.ISO_8859-1/Makefile20
1 files changed, 8 insertions, 12 deletions
diff --git a/es_ES.ISO_8859-1/Makefile b/es_ES.ISO_8859-1/Makefile
index 577a1c69ae..ce65b21d12 100644
--- a/es_ES.ISO_8859-1/Makefile
+++ b/es_ES.ISO_8859-1/Makefile
@@ -1,26 +1,22 @@
-# $Id: Makefile,v 1.3 1999-08-19 00:08:37 nik Exp $
+# $Id: Makefile,v 1.4 1999-08-19 20:35:57 nik Exp $
SUBDIR = books
COMPAT_SYMLINK = es
-#
-# 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/es_ES.ISO_8859-1/books/faq ] || \
- mkdir -p /usr/local/share/doc/fdp/es_ES.ISO_8859-1/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/es_ES.ISO_8859-1 \
- /usr/local/share/doc/fdp/${COMPAT_SYMLINK}; \
+ if [ ! -e ${DOCDIR}/${COMPAT_SYMLINK} ]; then \
+ rm -rf ${DOCDIR}/${COMPAT_SYMLINK}; \
+ ln -s ${DOCDIR}/es_ES.ISO_8859-1 \
+ ${DOCDIR}/${COMPAT_SYMLINK}; \
fi
.endif
.include <bsd.subdir.mk>
+
+DOC_PREFIX = ..
+.include "../share/mk/docproj.docbook.mk"