mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
subtree.mk: Inhibit warning for non-git repos
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
357ad0c8f9
commit
401598a05c
1 changed files with 2 additions and 2 deletions
|
|
@ -19,8 +19,8 @@ endif
|
|||
#SUBTREE_SRC = $(shell find .)
|
||||
#endif
|
||||
|
||||
SUBTREE_DIRS = $(shell for f in `git ls-files . || find | sed 's%/[^/]\+$$%%' | sort -u | grep -v Makefile`; do if [ -d "$$f" ]; then echo $$f; fi; done)
|
||||
SUBTREE_FILES = $(shell for f in `git ls-files . || find | grep -v Makefile`; do if [ -f "$$f" ]; then echo $$f; fi; done)
|
||||
SUBTREE_DIRS = $(shell for f in `git ls-files . 2>/dev/null || find | sed 's%/[^/]\+$$%%' | sort -u | grep -v Makefile`; do if [ -d "$$f" ]; then echo $$f; fi; done)
|
||||
SUBTREE_FILES = $(shell for f in `git ls-files . 2>/dev/null || find | grep -v Makefile`; do if [ -f "$$f" ]; then echo $$f; fi; done)
|
||||
|
||||
INSTALLED_SUBTREE_DIRS = $(addprefix $(ENV_PREFIX)$(SUBTREE_INSTALL_PREFIX)/,$(SUBTREE_DIRS))
|
||||
INSTALLED_SUBTREE_FILES = $(addprefix $(ENV_PREFIX)$(SUBTREE_INSTALL_PREFIX)/,$(SUBTREE_FILES))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue