From bf0a50880d35f803ec5c929bfe60b026accf9307 Mon Sep 17 00:00:00 2001 From: Justin Mayer Date: Mon, 24 Jun 2013 13:40:32 -0700 Subject: [PATCH] Revert "make clean" behavior to rm -rf. Fixes #773 The change to the "make clean" task in 764a2cf from "rm -rf" to instead relying on GNU "find" appears to have broken cross-platform portability, likely causing problems on *BSD and other platforms. This commit reverts that change back to the previous "rm -rf" behavior. --- pelican/tools/templates/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pelican/tools/templates/Makefile.in b/pelican/tools/templates/Makefile.in index 8890db6f..4bc764ca 100644 --- a/pelican/tools/templates/Makefile.in +++ b/pelican/tools/templates/Makefile.in @@ -44,7 +44,7 @@ html: $$(PELICAN) $$(INPUTDIR) -o $$(OUTPUTDIR) -s $$(CONFFILE) $$(PELICANOPTS) clean: - [ ! -d $$(OUTPUTDIR) ] || find $$(OUTPUTDIR) -mindepth 1 -delete + [ ! -d $$(OUTPUTDIR) ] || rm -rf $$(OUTPUTDIR) regenerate: $$(PELICAN) -r $$(INPUTDIR) -o $$(OUTPUTDIR) -s $$(CONFFILE) $$(PELICANOPTS)