aboutsummaryrefslogtreecommitdiff
path: root/es_ES.ISO8859-1/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 /es_ES.ISO8859-1/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 'es_ES.ISO8859-1/Makefile')
-rw-r--r--es_ES.ISO8859-1/Makefile24
1 files changed, 22 insertions, 2 deletions
diff --git a/es_ES.ISO8859-1/Makefile b/es_ES.ISO8859-1/Makefile
index 09eb10dc19..52159490d3 100644
--- a/es_ES.ISO8859-1/Makefile
+++ b/es_ES.ISO8859-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 <bsd.subdir.mk>