From fb1e2f5c66f7a77b526e7faf309df35451dc3dcd Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Fri, 21 Sep 2018 08:29:00 +0200 Subject: [PATCH] make: diff argument support --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index f7467bcb9..6fbb7b350 100644 --- a/Makefile +++ b/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}