aboutsummaryrefslogtreecommitdiff
path: root/zh_TW.Big5/Makefile
blob: 3218690f1ff129427d9b98a39f0c8e7a50671117 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#       $Id: Makefile,v 1.2 1999-08-17 21:35:56 nik Exp $

SUBDIR = FAQ

COMPAT_SYMLINK = zh

# 
# 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/zh_TW.Big5/books/faq ] || \
		mkdir -p /usr/local/share/doc/fdp/zh_TW.Big5/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/zh_TW.Big5		\
		      /usr/local/share/doc/fdp/${COMPAT_SYMLINK};	\
	fi
.endif

.include <bsd.subdir.mk>