-install: links
-ifeq ($(USER),root)
- chklocale
- chkpriv
- chkdb -r
-endif
-
-# uninstalling
-uninstall:
- $(RM) $(DESTDIR)/usr/share/doc/iserv/mod/error-reporter
- $(RM) $(DESTDIR)/usr/share/doc/iserv-mod-error-reporter
- $(RM) $(DESTDIR)/usr/share/iserv/www/img/{16,32}/mod_error-reporter.png
- $(RM) $(DESTDIR)/usr/share/iserv/sql/mod_error-reporter.sql
- $(RM) $(DESTDIR)/usr/share/iserv/sql/log_module/mod_error-reporter
- $(RM) $(DESTDIR)/usr/share/iserv/priv/mod_error-reporter
- $(RM) $(DESTDIR)/usr/share/iserv/www/inc/mod_error-reporter
- $(RM) $(DESTDIR)/usr/share/iserv/www/nav/79mod_error-reporter.mod
- $(RM) $(DESTDIR)/usr/share/iserv/www/nav/admin/99mod_error-reporter.mod
- $(RM) $(DESTDIR)/usr/share/iserv/www/mod_error-reporter
-
-ifeq ($(USER),root)
- chklocale
- chkpriv
- psql -c "DELETE FROM log_module WHERE module='Error Report Wizard';"
-endif
-
- @echo
- @echo If you do not need the SQL tables anymore, remove them by running
- @echo ' psql -c "DROP TABLE mod_errorreports;"'
- @echo After that, all reported errors are unrecoverably deleted!
- @echo
-