Add git-projects-dir-[include|minimal].mk
In the attempt to move both jw-build and the janware toplevel Makefile from CVS to Git, add two new makefile snippets to make/*.mk:
- projects-dir-minimal.mk
A new toplevel-Makefile for building all projects in one go. It should be suitable to be downloaded from janware.com/Makefile and then be used to bootstrap all repos hosted on janware.com, that a user has access to, just like the current toplevel Makefile is.It is as small as possible: Little code means few assumptions on what the world outside of it looks like, notably jw-build. This is desirable, because it lives outside of version control, albeit for a short while, and as long as it does, there's no mechanism in place to keep it current.That said, on first use, it replaces itself with a symbolic link into jw-build and is then version controlled with jw-build.- projects-dir-include.mk
This is essentially the existing projects-dir.mk / toplevel-Makefile, which it includes. It's meant as a place for adaptations to the next-generation implementation. This might prove handy to have while both implementations coexist during the transition phase.Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
7b315dede5
commit
df4a295d79
2 changed files with 44 additions and 0 deletions
3
make/projects-dir-include.mk
Normal file
3
make/projects-dir-include.mk
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
all:
|
||||
|
||||
include $(JWBDIR)/make/projects-dir.mk
|
||||
Loading…
Add table
Add a link
Reference in a new issue