Makefile: clean target to remove all compiled python files
authorKonstantin Stepanov <kstep@p-nut.info>
Sun, 12 Dec 2010 12:14:31 +0000 (14:14 +0200)
committerKonstantin Stepanov <kstep@p-nut.info>
Sun, 12 Dec 2010 12:14:31 +0000 (14:14 +0200)
Makefile

index cf21aae..fb5a434 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -19,3 +19,7 @@ uninstall:
        rm -rf $(PYMODULES)/dbuscron
        rm -f $(PREFIX)/dbuscron $(PREFIX)/dbuscrontab
        rm -f /etc/event.d/dbuscron
+
+clean:
+       find . -name "*.py[co]" | xargs rm -f 
+