Fix: Solaris 'find' does not support '-delete' option.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 02 Jun 2016 20:18:02 +0300
changeset 1406 0fddf6d2ccf2
parent 1405 fffa9d2a328f
child 1407 9ea890c729d8
Fix: Solaris 'find' does not support '-delete' option.
Makefile
--- a/Makefile	Wed May 25 10:18:36 2016 +0300
+++ b/Makefile	Thu Jun 02 20:18:02 2016 +0300
@@ -146,7 +146,7 @@
 	cp .emacs-post $(emacsdir)/.emacs-post
 
 define cleanup_mylispdir
-  find $(mylispdir) -type f '(' -name '*.el' -o -name '*.elc' -o -name '*~' ')' -delete
+  find $(mylispdir) -type f '(' -name '*.el' -o -name '*.elc' -o -name '*~' ')' -exec rm {} ';'
 endef
 
 .PHONY: install