Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
AVA
FloVer
Commits
9a318105
Commit
9a318105
authored
Sep 19, 2017
by
Heiko Becker
Browse files
Make Coq configure script ignore output directory
parent
a034407f
Changes
1
Hide whitespace changes
Inline
Side-by-side
coq/configure_coq.sh
View file @
9a318105
...
...
@@ -4,7 +4,7 @@ function display_help {
echo
" generate Makefile.coq for this directory"
echo
""
echo
-e
" --help
\t
Show this text"
echo
-e
" --timing
\t
Use timing scripts"
echo
-e
" --timing
\t
Use timing scripts"
}
TIMING
=
...
...
@@ -12,7 +12,7 @@ while [ $# != 0 ]; do
case
"
$1
"
in
--help
)
display_help
;;
--timing
)
TIMING
=
yes
;;
*
)
*
)
esac
shift
done
...
...
@@ -39,12 +39,12 @@ echo "Found Coq version $coq_ver."
echo
"-R . Daisy"
>
_CoqProject
find
.
-path
./attic
-prune
-o
-name
"*.v"
-print
>>
_CoqProject
find
.
-path
./attic
-prune
-o
-path
./output
-prune
-o
-name
"*.v"
-print
>>
_CoqProject
coq_makefile
-f
_CoqProject
-o
Makefile
sed
-i
--
's/TIMECMD=/TIMECMD?=/g'
Makefile
echo
'ifeq ($(wildcard time.rb)$(wildcard .timing),time.rb.timing)
export TIMECMD=@./time.rb $(if $(findstring j,$(MAKEFLAGS)),--parallel,)
export TIMECMD=@./time.rb $(if $(findstring j,$(MAKEFLAGS)),--parallel,)
endif'
>>
Makefile
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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