Replace clean target with post-clean target.
This commit is contained in:
parent
6c06c5af2c
commit
052f61ac99
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=27334
@ -148,20 +148,7 @@ post-install:
|
||||
@${ECHO} "and in ${PHPDOCDIR}"
|
||||
.endif
|
||||
|
||||
# This was copied from bsd.port.mk because a missing post-clean target
|
||||
# is needed
|
||||
clean:
|
||||
.if !defined(NOCLEANDEPENDS)
|
||||
@${MAKE} clean-depends
|
||||
.endif
|
||||
@${ECHO_MSG} "===> Cleaning for ${PKGNAME}"
|
||||
@if [ -d ${WRKDIR} ]; then \
|
||||
if [ -w ${WRKDIR} ]; then \
|
||||
${RM} -rf ${WRKDIR}; \
|
||||
else \
|
||||
${ECHO_MSG} "===> ${WRKDIR} not writable, skipping"; \
|
||||
fi; \
|
||||
fi
|
||||
post-clean:
|
||||
@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
|
||||
|
||||
.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
|
||||
|
@ -142,20 +142,7 @@ post-install:
|
||||
@${ECHO} "and in ${PHPDOCDIR}"
|
||||
.endif
|
||||
|
||||
# This was copied from bsd.port.mk because a missing post-clean target
|
||||
# is needed
|
||||
clean:
|
||||
.if !defined(NOCLEANDEPENDS)
|
||||
@${MAKE} clean-depends
|
||||
.endif
|
||||
@${ECHO_MSG} "===> Cleaning for ${PKGNAME}"
|
||||
@if [ -d ${WRKDIR} ]; then \
|
||||
if [ -w ${WRKDIR} ]; then \
|
||||
${RM} -rf ${WRKDIR}; \
|
||||
else \
|
||||
${ECHO_MSG} "===> ${WRKDIR} not writable, skipping"; \
|
||||
fi; \
|
||||
fi
|
||||
post-clean:
|
||||
@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
|
||||
|
||||
.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
|
||||
|
@ -142,20 +142,7 @@ post-install:
|
||||
@${ECHO} "and in ${PHPDOCDIR}"
|
||||
.endif
|
||||
|
||||
# This was copied from bsd.port.mk because a missing post-clean target
|
||||
# is needed
|
||||
clean:
|
||||
.if !defined(NOCLEANDEPENDS)
|
||||
@${MAKE} clean-depends
|
||||
.endif
|
||||
@${ECHO_MSG} "===> Cleaning for ${PKGNAME}"
|
||||
@if [ -d ${WRKDIR} ]; then \
|
||||
if [ -w ${WRKDIR} ]; then \
|
||||
${RM} -rf ${WRKDIR}; \
|
||||
else \
|
||||
${ECHO_MSG} "===> ${WRKDIR} not writable, skipping"; \
|
||||
fi; \
|
||||
fi
|
||||
post-clean:
|
||||
@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
|
||||
|
||||
.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
|
||||
|
Loading…
Reference in New Issue
Block a user