mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
projects-dir-minimal.mk: Make included targets once
Targets defined by projects-dir.mk are not available before it is included, but make makes up its mind about what targets are available after parsing the included makefiles, so remove that redundancy. On the other hand, a dependency alone is not enough for make to understand that an included makefile has been remade, it needs a rule, so add a dummy-rule body. In this case only echoing that the include file has been provided. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
34b21041fa
commit
50a19954b4
1 changed files with 1 additions and 1 deletions
|
|
@ -61,13 +61,13 @@ all:
|
|||
include $(PROJECTS_DIR_INCLUDE_MK)
|
||||
|
||||
$(PROJECTS_DIR_INCLUDE_MK): | $(JWBDIR)
|
||||
@echo Provided $@
|
||||
|
||||
$(JWBDIR):
|
||||
git $(GIT_GLOBAL_OPTS) clone $(addprefix -b ,$(JW_PKG_BRANCH)) $(JWBDIR_GIT_REMOTE) $(JWBDIR)
|
||||
ifneq ($(findstring proactiveAuth,$(GIT_GLOBAL_OPTS)),)
|
||||
git -C $(JWBDIR) config set http.proactiveAuth basic
|
||||
endif
|
||||
make $(MAKECMDGOALS)
|
||||
|
||||
RANDOM_STRING := some-random-string-to-id-this-makefile
|
||||
all: link-makefile.done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue