Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Simon Spies
Iris
Commits
48448482
Commit
48448482
authored
Sep 21, 2017
by
Ralf Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update for Coq Makefile hooks
parent
70e0a3ff
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
.gitignore
.gitignore
+2
-1
Makefile.coq.local
Makefile.coq.local
+5
-0
awk.Makefile
awk.Makefile
+2
-1
No files found.
.gitignore
View file @
48448482
...
...
@@ -10,5 +10,6 @@
*.bak
.coq-native/
build-dep/
Makefile.coq*
Makefile.coq
Makefile.coq.conf
*.crashcoqide
Makefile.coq.local
0 → 100644
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
awk.Makefile
View file @
48448482
...
...
@@ -11,7 +11,8 @@
# 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>.
/^uninstall:/ {
# This (and the section above) can be removed once we no longer support Coq 8.6.
/^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";
getline;
...
...
Write
Preview
Markdown
is supported
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