aboutsummaryrefslogtreecommitdiff
path: root/ja_JP.eucJP/Makefile
blob: 5437dadead1ea45ef5f8c3c6f0b94e142dfeb520 (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.6 1999-08-16 22:09:11 nik Exp $

SUBDIR = books
SUBDIR+= man
SUBDIR+= FAQ

COMPAT_SYMLINK = ja_JP.eucJP

# XXX Kludge -- pull this out when the FAQ is in DocBook
beforeinstall:
	[ -d /usr/local/share/doc/fdp/ja/books/faq ] || \
		mkdir -p /usr/local/share/doc/fdp/ja/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/ja			\
		      /usr/local/share/doc/fdp/${COMPAT_SYMLINK};	\
	fi
.endif

.include <bsd.subdir.mk>