summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cgi/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/cgi/Makefile b/cgi/Makefile
index 2bd7477f4..555f8448e 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
+