aboutsummaryrefslogtreecommitdiff
path: root/ru_RU.KOI8-R/Makefile
diff options
context:
space:
mode:
authorNik Clayton <nik@FreeBSD.org>1999-08-16 22:09:20 +0000
committerNik Clayton <nik@FreeBSD.org>1999-08-16 22:09:20 +0000
commit7fc8947ce8107903e54b4019fde201d067d62e22 (patch)
treea7cc40e4a2fa632d7b28d086eb302a97c63f556d /ru_RU.KOI8-R/Makefile
parent59dba67e397ff875ed64926bc2bb41f9cba44b7b (diff)
downloaddoc-7fc8947ce8107903e54b4019fde201d067d62e22.tar.gz
doc-7fc8947ce8107903e54b4019fde201d067d62e22.zip
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.
Notes
Notes: svn path=/head/; revision=5368
Diffstat (limited to 'ru_RU.KOI8-R/Makefile')
-rw-r--r--ru_RU.KOI8-R/Makefile24
1 files changed, 22 insertions, 2 deletions
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 <bsd.subdir.mk>