Makefile: debclean & deb targets
authorKonstantin Stepanov <kstep@p-nut.info>
Sun, 19 Dec 2010 22:39:32 +0000 (00:39 +0200)
committerKonstantin Stepanov <kstep@p-nut.info>
Mon, 20 Dec 2010 00:06:57 +0000 (02:06 +0200)
Makefile

index 2421ef3..0df6442 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -30,5 +30,13 @@ uninstall:
 clean:
        find ./dbuscron -name "*.py[co]" | xargs rm -f 
 
-.PHONY: all install uninstall clean
+debclean:
+       debclean
+       rm -rf ./debian/patches ./debian/dbuscron
+       rm -rf ./.pc
+
+deb: debclean
+       debuild binary-indep
+
+.PHONY: all install uninstall clean debclean deb