Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Iris
Diaframe
Commits
5ce9973f
Commit
5ce9973f
authored
Mar 02, 2022
by
Ike Mulder
Browse files
Made warnings disappear about possibly missing external folder when building.
parent
ad3dc2b6
Pipeline
#62783
passed with stage
in 8 minutes and 46 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
5ce9973f
...
...
@@ -8,7 +8,7 @@ COQ_MAKEFILE = $(COQBIN)coq_makefile
endif
# We don't want to manually specify all buildable vfiles, and we also have external dependencies..
HAS_EXTERNAL
:=
$(
shell
if
[
-n
"
$$
(find ./external/ -type f
)
"
]
;
then
echo
"1"
;
else
echo
"0"
;
fi
)
HAS_EXTERNAL
:=
$(
shell
if
[
-d
"./external"
]
&&
[
-n
"
$$
(find ./external/ -type f
)
"
]
;
then
echo
"1"
;
else
echo
"0"
;
fi
)
# above if statement checks if there are regular files in that directory
# this should indicate having run `git submodule init --update --recursive`
ifeq
("$(HAS_EXTERNAL)", "1")
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment