Don't delete "Latest" link if NO_LATEST_LINK is set.

This commit is contained in:
Satoshi Asami 1998-03-24 03:34:51 +00:00
parent c4118fc0b0
commit f0bb46b1b3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34858

View File

@ -1,7 +1,7 @@
#-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=4
#
# $Id: bsd.port.mk,v 1.271 1998/02/19 06:49:27 asami Exp $
# $Id: bsd.port.mk,v 1.272 1998/03/07 04:40:19 asami Exp $
# $NetBSD: $
#
# bsd.port.mk - 940820 Jordan K. Hubbard.
@ -1147,7 +1147,10 @@ package-links:
.if !target(delete-package-links)
delete-package-links:
@${RM} -f ${PACKAGES}/[a-z]*/${PKGNAME}${PKG_SUFX} ${PKGLATESTFILE}
@${RM} -f ${PACKAGES}/[a-z]*/${PKGNAME}${PKG_SUFX}
.if !defined(NO_LATEST_LINK)
@${RM} -f ${PKGLATESTFILE}
.endif
.endif
.if !target(delete-package)