Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Simcha van Collem
Iris
Commits
6f9c094e
Commit
6f9c094e
authored
8 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
avoid leaving empty Makefile.coq if coq_makefile fails
parent
cde5b548
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+3
-1
3 additions, 1 deletion
Makefile
with
3 additions
and
1 deletion
Makefile
+
3
−
1
View file @
6f9c094e
...
@@ -18,8 +18,10 @@ clean: Makefile.coq
...
@@ -18,8 +18,10 @@ clean: Makefile.coq
rm
-f
Makefile.coq
rm
-f
Makefile.coq
Makefile.coq
:
_CoqProject Makefile
Makefile.coq
:
_CoqProject Makefile
coq_makefile
$(
COQ_MAKEFILE_FLAGS
)
-f
_CoqProject |
sed
's/
$$(
COQCHK
)
$$(
COQCHKFLAGS
)
$$(
COQLIBS
)
/
$$(
COQCHK
)
$$(
COQCHKFLAGS
)
$$(
subst -Q,-R,
$$(
COQLIBS
))
/'
\
coq_makefile
$(
COQ_MAKEFILE_FLAGS
)
-f
_CoqProject
-o
Makefile.coq.tmp
sed
's/
$$(
COQCHK
)
$$(
COQCHKFLAGS
)
$$(
COQLIBS
)
/
$$(
COQCHK
)
$$(
COQCHKFLAGS
)
$$(
subst -Q,-R,
$$(
COQLIBS
))
/'
< Makefile.coq.tmp
\
|
awk
'/^install:$$/{print;print "\tif [ -d \"
$$(
DSTROOT
)
\"
$$(
COQLIBINSTALL
)
/iris/ ]; then find \"
$$(
DSTROOT
)
\"
$$(
COQLIBINSTALL
)
/iris/ -name \"*.vo\" -print -delete; fi";next}1'
>
Makefile.coq
|
awk
'/^install:$$/{print;print "\tif [ -d \"
$$(
DSTROOT
)
\"
$$(
COQLIBINSTALL
)
/iris/ ]; then find \"
$$(
DSTROOT
)
\"
$$(
COQLIBINSTALL
)
/iris/ -name \"*.vo\" -print -delete; fi";next}1'
>
Makefile.coq
rm
Makefile.coq.tmp
_CoqProject
:
;
_CoqProject
:
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment