From 7fc8947ce8107903e54b4019fde201d067d62e22 Mon Sep 17 00:00:00 2001 From: Nik Clayton Date: Mon, 16 Aug 1999 22:09:20 +0000 Subject: The new Makefile framework. Does the right thing (pretty much) except in the case of */FAQ/Makefile, because the FAQs are all in the wrong place. Things still install properly, but some of the directory paths are hardcoded. This will be going away ASAP. --- es_ES.ISO_8859-1/FAQ/Makefile | 5 +++-- es_ES.ISO_8859-1/Makefile | 24 ++++++++++++++++++++++-- 2 files changed, 25 insertions(+), 4 deletions(-) (limited to 'es_ES.ISO_8859-1') diff --git a/es_ES.ISO_8859-1/FAQ/Makefile b/es_ES.ISO_8859-1/FAQ/Makefile index 0598505ca2..25a2bb085e 100644 --- a/es_ES.ISO_8859-1/FAQ/Makefile +++ b/es_ES.ISO_8859-1/FAQ/Makefile @@ -1,9 +1,10 @@ -# $Id: Makefile,v 1.4 1998-12-09 00:32:19 nik Exp $ +# $Id: Makefile,v 1.5 1999-08-16 22:09:14 nik Exp $ .NOTPARALLEL: DOC= FAQ -DOCDIR= ${SHAREDIR}/doc/es +VOLUME= faq +DOCDIR= /usr/local/share/doc/fdp/es_ES.ISO_8859-1/books FORMATS?= html roff SGMLOPTS+=-links diff --git a/es_ES.ISO_8859-1/Makefile b/es_ES.ISO_8859-1/Makefile index 09eb10dc19..52159490d3 100644 --- a/es_ES.ISO_8859-1/Makefile +++ b/es_ES.ISO_8859-1/Makefile @@ -1,6 +1,26 @@ -# From: @(#)Makefile 8.1 (Berkeley) 6/5/93 -# $Id: Makefile,v 1.1 1998-07-20 17:16:21 nik Exp $ +# $Id: Makefile,v 1.2 1999-08-16 22:09:13 nik Exp $ SUBDIR = FAQ +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}; \ + fi +.endif + .include -- cgit v1.2.3