]> git.proxmox.com Git - pve-firewall.git/commitdiff
improve Makefile clean target
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 14 Mar 2014 13:22:30 +0000 (14:22 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 14 Mar 2014 13:22:30 +0000 (14:22 +0100)
Makefile
src/Makefile

index 79fe413bf369af3d017bdb790c7909f75df1534b..1c30cf6075f938f386bf94c73f18f42f86b6604e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -37,7 +37,8 @@ deb ${DEB}:
 
 .PHONY: clean
 clean:         
-       rm -rf *~ */*~ *.deb *.changes build ${PACKAGE}-*.tar.gz
+       make -C src clean
+       rm -rf *~ debian/*~ example/*~ *.deb *.changes build ${PACKAGE}-*.tar.gz
 
 .PHONY: distclean
 distclean: clean
index 16806ee86ca8c30a4bdacb4cff2569186abf6459..f1c868b817701da896f1d2563299176b3c9d7ad7 100644 (file)
@@ -32,7 +32,7 @@ install: pvefw pvefw-logger
 
 .PHONY: clean
 clean:         
-       rm -rf *~
+       rm -rf *~ pvefw-logger
 
 .PHONY: distclean
 distclean: clean