mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-18 13:03:58 +01:00
list-cvs-files.sh: Add support for -z options
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
fd16c59809
commit
8dc4c9a465
2 changed files with 23 additions and 9 deletions
|
|
@ -249,15 +249,15 @@ clone.done: ssh-wrapper.sh
|
|||
|
||||
list-files:
|
||||
@for p in $(PROJECTS); do \
|
||||
$(LIST_VCS_FILES) -nf $$p | sed "s/^/$$p\//" | \
|
||||
xargs realpath --relative-to=. \
|
||||
$(LIST_VCS_FILES) -znf $$p | sed -z "s/^/$$p\//" | \
|
||||
xargs -0 realpath --relative-to=. ;\
|
||||
done
|
||||
|
||||
list-text-files:
|
||||
@make --no-print-directory list-files | xargs file -N | grep ":.*text" | cut -d: -f1
|
||||
|
||||
loc-all:
|
||||
@make --no-print-directory list-text-files \
|
||||
@make --no-print-directory list-text-files | \
|
||||
grep -v "iow-standalone\|jux3\|ntv2/contrib\|\.dia$$\|\.dat\$$\|bootsrap\.css\|mpegplayer/contrib\|gitweb.cgi" | \
|
||||
xargs wc -l
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue