Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed pkglint warnings.

  • Loading branch information...
commit bb3fd04a363f96c5f5b84b4ac88dda48fd1454c6 1 parent 520c750
rillig authored

Showing 1 changed file with 11 additions and 11 deletions. Show diff stats Hide diff stats

  1. +11 11 mk/bsd.pkg.clean.mk
22 mk/bsd.pkg.clean.mk
... ... @@ -1,4 +1,4 @@
1   -# $NetBSD: bsd.pkg.clean.mk,v 1.12 2007/11/15 12:05:09 rillig Exp $
  1 +# $NetBSD: bsd.pkg.clean.mk,v 1.13 2007/11/15 12:09:52 rillig Exp $
2 2 #
3 3 # This Makefile fragment is included to bsd.pkg.mk and defines the
4 4 # relevant variables and targets for the "clean" phase.
@@ -33,7 +33,7 @@ _MAKE_CLEAN_AS_ROOT=yes
33 33
34 34 .PHONY: clean-depends
35 35 clean-depends:
36   - ${_PKG_SILENT}${_PKG_DEBUG} \
  36 + ${RUN} \
37 37 ${_DEPENDS_WALK_CMD} ${PKGPATH} | \
38 38 while read dir; do \
39 39 cd ${.CURDIR}/../../$$dir && \
@@ -61,22 +61,22 @@ do-clean: su-do-clean
61 61 . endif
62 62 .endif
63 63
64   -su-do-clean:
  64 +su-do-clean: .PHONY
65 65 @${PHASE_MSG} "Cleaning for ${PKGNAME}"
66   - ${_PKG_SILENT}${_PKG_DEBUG} \
67   - if ${TEST} -d ${WRKDIR:Q}; then \
68   - if ${TEST} -w ${WRKDIR:Q}; then \
69   - ${RM} -fr ${WRKDIR:Q}; \
  66 + ${RUN} \
  67 + if ${TEST} -d ${WRKDIR}; then \
  68 + if ${TEST} -w ${WRKDIR}; then \
  69 + ${RM} -fr ${WRKDIR}; \
70 70 else \
71   - ${STEP_MSG} ${WRKDIR:Q}" not writable, skipping"; \
  71 + ${STEP_MSG} ${WRKDIR}" not writable, skipping"; \
72 72 fi; \
73 73 fi
74   -. if defined(WRKOBJDIR)
75   - ${_PKG_SILENT}${_PKG_DEBUG} \
  74 +.if defined(WRKOBJDIR)
  75 + ${RUN} \
76 76 ${RMDIR} ${BUILD_DIR} 2>/dev/null || ${TRUE}; \
77 77 ${RMDIR} ${BUILD_DIR:H} 2>/dev/null || ${TRUE}; \
78 78 ${RM} -f ${WRKDIR_BASENAME} 2>/dev/null || ${TRUE}
79   -. endif
  79 +.endif
80 80
81 81 _CLEAN_TARGETS+= pre-clean
82 82 .if empty(CLEANDEPENDS:M[nN][oO])

0 comments on commit bb3fd04

Please sign in to comment.
Something went wrong with that request. Please try again.