add myclean
[ikiwiki.git] / Makefile.PL
index 38db20d44267578d11a7523f30ffd8834bc6681f..09ec2e730d3a3f1e5f731da700e91ac290bda5a5 100755 (executable)
@@ -57,6 +57,10 @@ extra_clean:
        rm -f *.man $(outprogs) ikiwiki.setup plugins/*.pyc
        $(MAKE) -C po clean
 
+# Joey uses this before committing.
+myclean: clean
+       git checkout po ikiwiki.spec
+
 underlay_install:
        install -d $(DESTDIR)$(PREFIX)/share/ikiwiki
        for dir in `cd underlays && find . -follow -type d ! -regex '.*\.svn.*'`; do \