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
Gaëtan Gilbert
Iris
Commits
48448482
Commit
48448482
authored
7 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
update for Coq Makefile hooks
parent
70e0a3ff
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+2
-1
2 additions, 1 deletion
.gitignore
Makefile.coq.local
+5
-0
5 additions, 0 deletions
Makefile.coq.local
awk.Makefile
+2
-1
2 additions, 1 deletion
awk.Makefile
with
9 additions
and
2 deletions
.gitignore
+
2
−
1
View file @
48448482
...
@@ -10,5 +10,6 @@
...
@@ -10,5 +10,6 @@
*.bak
*.bak
.coq-native/
.coq-native/
build-dep/
build-dep/
Makefile.coq*
Makefile.coq
Makefile.coq.conf
*.crashcoqide
*.crashcoqide
This diff is collapsed.
Click to expand it.
Makefile.coq.local
0 → 100644
+
5
−
0
View file @
48448482
uninstall
::
@
# This makes sure we also delete stale files in the destination directory
$(
HIDE
)
df
=
"
$(
COQLIBINSTALL
)
/
`
$(
COQMKFILE
)
-destination-of
"theories/base.v"
$(
COQLIBS
)
`
"
&&
\
echo
"RM in
$$
df"
&&
\
if
[
-d
"
$$
df"
]
;
then
find
"
$$
df"
\(
-name
"*.vo"
-o
-name
"*.v"
-o
-name
"*.glob"
-o
\(
-type
d
-empty
\)
\)
-print
-delete
;
fi
This diff is collapsed.
Click to expand it.
awk.Makefile
+
2
−
1
View file @
48448482
...
@@ -11,7 +11,8 @@
...
@@ -11,7 +11,8 @@
# Patch the uninstall target to work properly, and to also uninstall stale files.
# Patch the uninstall target to work properly, and to also uninstall stale files.
# Also see <https://coq.inria.fr/bugs/show_bug.cgi?id=4907>.
# Also see <https://coq.inria.fr/bugs/show_bug.cgi?id=4907>.
/^uninstall:/ {
# This (and the section above) can be removed once we no longer support Coq 8.6.
/^uninstall: / {
print "uninstall:";
print "uninstall:";
print "\tif [ -d \"$(DSTROOT)\"$(COQLIBINSTALL)/"PROJECT"/ ]; then find \"$(DSTROOT)\"$(COQLIBINSTALL)/"PROJECT"/ \\( -name \"*.vo\" -o -name \"*.v\" -o -name \"*.glob\" -o \\( -type d -empty \\) \\) -print -delete; fi";
print "\tif [ -d \"$(DSTROOT)\"$(COQLIBINSTALL)/"PROJECT"/ ]; then find \"$(DSTROOT)\"$(COQLIBINSTALL)/"PROJECT"/ \\( -name \"*.vo\" -o -name \"*.v\" -o -name \"*.glob\" -o \\( -type d -empty \\) \\) -print -delete; fi";
getline;
getline;
...
...
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