mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
make: diff argument support
This commit is contained in:
parent
4a042858a6
commit
fb1e2f5c66
8
Makefile
8
Makefile
@ -339,10 +339,7 @@ dhparam:
|
||||
${.CURDIR}/src/etc/dh-parameters.${BITS}.sample ${BITS}
|
||||
.endfor
|
||||
|
||||
diff:
|
||||
@git diff --stat -p stable/${CORE_ABI}
|
||||
|
||||
ARGS= mfc
|
||||
ARGS= diff mfc
|
||||
|
||||
# handle argument expansion for required targets
|
||||
.for TARGET in ${.TARGETS}
|
||||
@ -358,6 +355,9 @@ ${_TARGET}_ARG= ${${_TARGET}_ARGS:[0]}
|
||||
.endif
|
||||
.endfor
|
||||
|
||||
diff:
|
||||
@git diff --stat -p stable/${CORE_ABI} ${.CURDIR}/${diff_ARGS:[1]}
|
||||
|
||||
mfc:
|
||||
@git checkout stable/${CORE_ABI}
|
||||
.for MFC in ${mfc_ARGS}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user