forked from mirrors/treebird-docker
Add build setup script and make mastodont-c a submodule as well so it can be cloned outside the container
This commit is contained in:
parent
c27c4d6456
commit
ac5eaa7dac
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,3 +1,6 @@
|
|||
[submodule "treebird"]
|
||||
path = treebird
|
||||
url = https://git.nekobit.net/repos/treebird.git
|
||||
[submodule "mastodont-c"]
|
||||
path = mastodont-c
|
||||
url = https://git.nekobit.net/repos/mastodont-c.git
|
||||
|
|
11
build_setup.sh
Executable file
11
build_setup.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
# Setup steps to preform before the actual build
|
||||
|
||||
git submodule init
|
||||
git submodule update
|
||||
|
||||
cp -r mastodont-c treebird/
|
||||
cp treebird/{config.def.h,config.h}
|
||||
ln -s treebird/config.h .
|
||||
|
||||
echo "Please edit config.h (symlinked for convenience) as needed, then run ./build_container.sh"
|
1
mastodont-c
Submodule
1
mastodont-c
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit f16c12e04fdff02eabfda509033c9c5c87c829e2
|
Loading…
Reference in a new issue