]> sipb.mit.edu Git - ikiwiki.git/commitdiff
move clean code to clean rule
authorJoey Hess <joey@gnu.kitenet.net>
Sun, 19 Jul 2009 13:17:38 +0000 (15:17 +0200)
committerJoey Hess <joey@gnu.kitenet.net>
Sun, 19 Jul 2009 13:17:38 +0000 (15:17 +0200)
Makefile.PL

index 61e2c147fd6c04ec3a2cbe3a79a8e61fdac4c482..b00dcb66e7686b8ef774ba5bb66327ae39217b06 100755 (executable)
@@ -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