5d61c67118
to both directories, and make it relative, rather than absolute. This fixes the case where you might install the docs under one directory /foo/bar/..., and then want to migrate them elsewhere (to /usr/share/). With the old scheme, the symlink would start /foo/bar/..., and would therefore be broken. A good example of this happening is "make release" :-)
21 lines
445 B
Makefile
21 lines
445 B
Makefile
# $Id: Makefile,v 1.5 1999-08-26 19:42:11 nik Exp $
|
|
|
|
SUBDIR = books
|
|
|
|
COMPAT_SYMLINK = es
|
|
|
|
#
|
|
# Put the compatability symlink in place.
|
|
#
|
|
afterinstall:
|
|
.if !defined(IGNORE_COMPAT_SYMLINK)
|
|
if [ ! -e ${DOCDIR}/${COMPAT_SYMLINK} ]; then \
|
|
rm -rf ${DOCDIR}/${COMPAT_SYMLINK}; \
|
|
(cd ${DOCDIR} && ln -s es_ES.ISO_8859-1 ${COMPAT_SYMLINK}); \
|
|
fi
|
|
.endif
|
|
|
|
.include <bsd.subdir.mk>
|
|
|
|
DOC_PREFIX = ..
|
|
.include "../share/mk/docproj.docbook.mk"
|