summaryrefslogtreecommitdiff
path: root/sysutils/apcupsd/files/patch-src_cgi_Makefile
blob: 981c42d2bd341744715f8db96e661a79c2c5875c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/cgi/Makefile.orig	2014-11-04 19:17:43 UTC
+++ src/cgi/Makefile
@@ -43,9 +43,9 @@ install-cgi:
 	$(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 INSTDATA,644,apcupsd.css,$(sysconfdir)/apcupsd.css.sample)
+	$(call INSTDATA,644,$(topdir)/platforms/etc/hosts.conf,$(sysconfdir)/hosts.conf.sample)
+	$(call INSTDATA,644,$(topdir)/platforms/etc/multimon.conf,$(sysconfdir)/multimon.conf.sample)
 
 uninstall-cgi:
 	$(call UNINST,$(cgibin)/multimon.cgi)