diff options
author | Nik Clayton <nik@FreeBSD.org> | 1999-08-16 22:09:20 +0000 |
---|---|---|
committer | Nik Clayton <nik@FreeBSD.org> | 1999-08-16 22:09:20 +0000 |
commit | 7fc8947ce8107903e54b4019fde201d067d62e22 (patch) | |
tree | a7cc40e4a2fa632d7b28d086eb302a97c63f556d /ru_RU.KOI8-R | |
parent | 59dba67e397ff875ed64926bc2bb41f9cba44b7b (diff) | |
download | doc-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')
-rw-r--r-- | ru_RU.KOI8-R/FAQ/Makefile | 5 | ||||
-rw-r--r-- | ru_RU.KOI8-R/Makefile | 24 |
2 files changed, 25 insertions, 4 deletions
diff --git a/ru_RU.KOI8-R/FAQ/Makefile b/ru_RU.KOI8-R/FAQ/Makefile index 1d07aad5b1..ac6845defc 100644 --- a/ru_RU.KOI8-R/FAQ/Makefile +++ b/ru_RU.KOI8-R/FAQ/Makefile @@ -1,9 +1,10 @@ -# $Id: Makefile,v 1.2 1998-12-30 10:17:35 dt Exp $ +# $Id: Makefile,v 1.3 1999-08-16 22:09:17 nik Exp $ .NOTPARALLEL: DOC= FAQ -DOCDIR= ${SHAREDIR}/doc/ru +VOLUME= faq +DOCDIR= /usr/local/share/doc/fdp/ru_SU.KOI8-R/books FORMATS?= html roff SGMLOPTS+=-e koi8-r SGMLOPTS+=-links 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> |