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. --- ru_RU.KOI8-R/Makefile | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) (limited to 'ru_RU.KOI8-R/Makefile') diff --git a/ru_RU.KOI8-R/Makefile b/ru_RU.KOI8-R/Makefile index b3cd2258ee..08d963c3b0 100644 --- a/ru_RU.KOI8-R/Makefile +++ b/ru_RU.KOI8-R/Makefile @@ -1,6 +1,26 @@ -# From: @(#)Makefile 8.1 (Berkeley) 6/5/93 -# $Id: Makefile,v 1.1 1998-12-28 19:19:56 ache Exp $ +# $Id: Makefile,v 1.2 1999-08-16 22:09:16 nik Exp $ SUBDIR = FAQ +COMPAT_SYMLINK = ru + +# +# 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/ru_SU.KOI8-R/books/faq ] || \ + mkdir -p /usr/local/share/doc/fdp/ru_SU.KOI8-R/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/ru_SU.KOI8-R \ + /usr/local/share/doc/fdp/${COMPAT_SYMLINK}; \ + fi +.endif + .include -- cgit v1.2.3