[check_postgres] [commit] Quick and dirty 'clean' target

check_postgres at bucardo.org check_postgres at bucardo.org
Fri May 1 13:39:52 UTC 2009


Committed by Greg Sabino Mullane <greg at endpoint.com>

Quick and dirty 'clean' target

---
 Makefile |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 83b9718..f0c9cff 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,6 @@ critic:
 
 	perlcritic --profile-strictness quiet check_postgres.pl
 
-
 test:
 
 	@ prove t/*.t
@@ -31,3 +30,7 @@ signature:
 	@ gpg --yes -ba check_postgres.pl
 	@ gpg --verify check_postgres.pl.asc
 
+clean:
+
+	@ (kill `head -1 test_database_check_postgres/data\ space/postmaster.pid | awk '{print $1}'`) 2>/dev/null
+	@ rm -fr test_database_check_postgres
-- 
1.6.0.5



More information about the Check_postgres mailing list