Re-add bits to allow `make reinstall'' or a boched `make install'' to

be retried.
This commit is contained in:
David E. O'Brien 1998-08-17 17:03:31 +00:00
parent 5ede0f7f1b
commit 151b01a7c9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=12584

View File

@ -4,7 +4,7 @@
# Date created: 03 Mar 1998
# Whom: David O'Brien <obrien@NUXI.com>
#
# $Id: Makefile,v 1.8 1998/08/17 02:03:20 obrien Exp $
# $Id: Makefile,v 1.9 1998/08/17 06:40:16 hoek Exp $
#
DISTNAME= libstdc++-2.8.1.1
@ -26,6 +26,11 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
PLIST_SUB= GCC28SUBDIR=${GCC28DIR}
pre-install:
@# allow a boched ``make install'' to be re-tried
@${RM} -rf ${PREFIX}/include/g++
@${MKDIR} ${PREFIX}/include/g++
post-install:
${RM} -rf ${PREFIX}/${GCC28DIR}/include/g++
${MV} ${PREFIX}/include/g++ \