Commit b356673e authored by Ralf Jung's avatar Ralf Jung

awk.Makefile: uninstall: also delete empty directories

parent fc9f3bc3
Pipeline #3663 passed with stage
in 10 minutes and 50 seconds
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# 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:/ { /^uninstall:/ {
print "uninstall:"; print "uninstall:";
print "\tif [ -d \"$(DSTROOT)\"$(COQLIBINSTALL)/"PROJECT"/ ]; then find \"$(DSTROOT)\"$(COQLIBINSTALL)/"PROJECT"/ -name \"*.vo\" -print -delete; fi"; print "\tif [ -d \"$(DSTROOT)\"$(COQLIBINSTALL)/"PROJECT"/ ]; then find \"$(DSTROOT)\"$(COQLIBINSTALL)/"PROJECT"/ \\( -name \"*.vo\" -o \\( -type d -empty \\) \\) -print -delete; fi";
getline; getline;
next next
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment