rules.mk: Add --relative --no-prefix to diff target

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-09-07 10:04:27 +00:00
commit 7f2983b3a5

View file

@ -135,7 +135,7 @@ cvsupdate update:
if [ -d "CVS" ]; then cvs update -dP || exit 1; else git pull || exit 1; fi if [ -d "CVS" ]; then cvs update -dP || exit 1; else git pull || exit 1; fi
cvsdiff diff: cvsdiff diff:
if [ -d "CVS" ]; then cvs diff -u || exit 1; else git --no-pager diff || exit 1; fi if [ -d "CVS" ]; then cvs diff -u || exit 1; else git --no-pager diff --relative --no-prefix . || exit 1; fi
push: push:
if [ ! -d "CVS" ]; then git push || exit 1; fi if [ ! -d "CVS" ]; then git push || exit 1; fi