From a3163ec30459e3908f9cea029e1dc40efa0f28c9 Mon Sep 17 00:00:00 2001 From: Nik Clayton Date: Thu, 19 Aug 1999 20:36:02 +0000 Subject: Honour ${DOCDIR} when installing the documentation. --- es_ES.ISO_8859-1/Makefile | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'es_ES.ISO_8859-1/Makefile') 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 + +DOC_PREFIX = .. +.include "../share/mk/docproj.docbook.mk" -- cgit v1.2.3