mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
Makefile: Make list-files consider build dependencies, too
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
5e66868557
commit
19bc4037c0
1 changed files with 2 additions and 2 deletions
|
|
@ -204,14 +204,14 @@ clean.text-files-cache:
|
|||
rm -f $(TEXT_FILES_CACHE)
|
||||
list-files:
|
||||
@realpath Makefile
|
||||
@for p in $(PROJECTS); do \
|
||||
@for p in $(BUILD_PROJECTS); do \
|
||||
$(LIST_VCS_FILES_SH) -znf $$p | sed -z "s/^/$$p\//" | \
|
||||
xargs -0 realpath ;\
|
||||
done
|
||||
$(TEXT_FILES_CACHE):
|
||||
@make -s text-files-update
|
||||
text-files-update:
|
||||
@make -s --no-print-directory list-files | xargs file -N | grep ":.*text" | cut -d: -f1 > $(TEXT_FILES_CACHE).tmp
|
||||
make -s --no-print-directory list-files | xargs file -N | grep ":.*text" | cut -d: -f1 > $(TEXT_FILES_CACHE).tmp
|
||||
mv $(TEXT_FILES_CACHE).tmp $(TEXT_FILES_CACHE)
|
||||
text-files-update-all:
|
||||
@PROJECTS_TXT= make text-files-update
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue