From a60e4ef4ee442540482c0821f4a96d65b98004bc Mon Sep 17 00:00:00 2001
From: Joey Hess <joey@gnu.kitenet.net>
Date: Sun, 19 Jul 2009 15:17:38 +0200
Subject: move clean code to clean rule

---
 Makefile.PL | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.PL b/Makefile.PL
index 61e2c147f..b00dcb66e 100755
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -62,13 +62,13 @@ underlaypo: ikiwiki.out
 		fi \
 	done
 	$(PERL) -Iblib/lib $(extramodules) $(tflag) ikiwiki.out -libdir . -setup underlaypo.setup -refresh
-	rm -rf po/html po/underlays/.ikiwiki
-	find po/underlays -name \*.mdwn | xargs rm -f
 
 extra_clean:
 	rm -rf html doc/.ikiwiki
 	rm -f *.man ikiwiki.out ikiwiki.setup plugins/*.pyc
 	$(MAKE) -C po clean
+	rm -rf po/html po/underlays/.ikiwiki
+	find po/underlays -name \*.mdwn | xargs rm -f
 
 extra_install:
 	install -d $(DESTDIR)$(PREFIX)/share/ikiwiki
-- 
cgit v1.2.3