1
0
mirror of https://github.com/daeuniverse/dae.git synced 2025-01-12 15:57:08 +07:00

chore: do not ignore .gitmodules.d.mk

This commit is contained in:
mzz2017 2023-06-17 14:32:29 +08:00
parent 4fa582e079
commit b61db9bfd7
3 changed files with 2 additions and 2 deletions

1
.gitignore vendored
View File

@ -8,4 +8,3 @@ dae
outline.json outline.json
go-mod/ go-mod/
node_modules/ node_modules/
.gitmodules.d.mk

1
.gitmodules.d.mk Normal file
View File

@ -0,0 +1 @@
submodule_paths=control/kern/headers

View File

@ -47,7 +47,7 @@ dae: ebpf
## Begin Git Submodules ## Begin Git Submodules
.gitmodules.d.mk: .gitmodules .gitmodules.d.mk: .gitmodules
@set -e && \ @set -e && \
submodules=$$(grep '\[submodule "' .gitmodules | cut -d'"' -f2 | tr '\n' ' ') && \ submodules=$$(grep '\[submodule "' .gitmodules | cut -d'"' -f2 | tr '\n' ' ' | tr ' \n' '\n') && \
echo "submodule_paths=$${submodules}" > $@ echo "submodule_paths=$${submodules}" > $@
-include .gitmodules.d.mk -include .gitmodules.d.mk