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
Rodolphe Lepigre
Iris
Commits
48448482
Commit
48448482
authored
Sep 21, 2017
by
Ralf Jung
Browse files
update for Coq Makefile hooks
parent
70e0a3ff
Changes
3
Hide whitespace changes
Inline
Side-by-side
.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
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