From 08df53f89d6955b10d1b61ac3507e2d0af959da0 Mon Sep 17 00:00:00 2001
From: Richard Nelson <unixabg@gmail.com>
Date: Sat, 17 Apr 2010 19:17:41 -0500
Subject: Add uninstall and reinstall for l-h.cgi Makefile.

---
 cgi/Makefile | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/cgi/Makefile b/cgi/Makefile
index 2bd7477..555f844 100644
--- a/cgi/Makefile
+++ b/cgi/Makefile
@@ -9,3 +9,12 @@ install:
 	install -d -m 0755 $(DESTDIR)/var/log
 	touch $(DESTDIR)/var/log/live
 	chown www-data:www-data $(DESTDIR)/var/log/live
+
+uninstall:
+	rm $(DESTDIR)/usr/lib/cgi-bin/live-helper
+	rm $(DESTDIR)/etc/cron.d/live-helper.cgi
+	rm $(DESTDIR)/etc/default/live-helper.cgi
+	rm $(DESTDIR)/etc/logrotate.d/live-helper.cgi
+
+reinstall: uninstall install
+
-- 
cgit v1.0