$OpenBSD$
--- src/cgi/Makefile.orig Mon Jan 25 08:07:59 2010
+++ src/cgi/Makefile Mon Jan 25 08:09:54 2010
@@ -39,10 +39,10 @@ install-cgi:
$(call INSTPROG,755,upsstats.cgi,$(cgibin))
$(call INSTPROG,755,upsfstats.cgi,$(cgibin))
$(call INSTPROG,755,upsimage.cgi,$(cgibin))
- $(call MKDIR,$(sysconfdir))
- $(call INSTNEW,644,apcupsd.css,$(sysconfdir))
- $(call INSTNEW,644,$(topdir)/platforms/etc/hosts.conf,$(sysconfdir))
- $(call INSTNEW,644,$(topdir)/platforms/etc/multimon.conf,$(sysconfdir))
+ $(call MKDIR,$(datadir)/examples/apcupsd/etc/)
+ $(call INSTNEW,644,apcupsd.css,$(datadir)/examples/apcupsd/etc/)
+ $(call INSTNEW,644,$(topdir)/platforms/etc/hosts.conf,$(datadir)/examples/apcupsd/etc/)
+ $(call INSTNEW,644,$(topdir)/platforms/etc/multimon.conf,$(datadir)/examples/apcupsd/etc/)
uninstall-cgi:
$(call UNINST,$(cgibin)/multimon.cgi)