diff --git a/scripts/Makefile.patch b/scripts/Makefile.patch
index 76a5ace741a4319dc432053a4d70dae71383ad8e..e8472234d4bd81b9e1658c3b1fb21e304031796c 100644
--- a/scripts/Makefile.patch
+++ b/scripts/Makefile.patch
@@ -29,3 +29,14 @@
  # FIXME: not quite right, since the output name is different
  gallinahtml: GAL=-g
  gallinahtml: html
+@@ -587,6 +593,10 @@
+ 	$(HIDE)rm -f $(CMOFILES:%.cmo=%.cmx)
+ .PHONY: archclean
+ 
++vacuum:: cleanall
++	$(SHOW)'VACUUMING *.vo *.glob .*.aux <empty directories>'
++	$(HIDE)find . -depth \( -iname '*.vo' -or  -iname '*.glob' -or -iname '.*.aux' \)  ! -path './.git/*' -delete
++	$(HIDE)find . -depth -type d -empty ! -path './.git/*' -delete
+ 
+ # Compilation rules ###########################################################
+