summaryrefslogtreecommitdiff
path: root/sysutils/munin-server/patches/patch-ad
blob: f84d4dd52d1f7c28bfe5a98891fbf1ba1741b8d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
$NetBSD: patch-ad,v 1.1.1.1 2006/06/08 19:16:24 he Exp $

--- Makefile.orig	2004-12-22 22:33:47.000000000 +0100
+++ Makefile
@@ -17,6 +17,7 @@ install: install-main install-node insta
 install-main: build
 	$(CHECKUSER)
 	mkdir -p $(CONFDIR)/templates
+	mkdir -p $(EGDIR)/templates
 	mkdir -p $(LIBDIR)
 	mkdir -p $(BINDIR)
 	mkdir -p $(PERLLIB)
@@ -29,13 +30,11 @@ install-main: build
 	$(CHOWN) $(USER) $(LOGDIR) $(STATEDIR) $(RUNDIR) $(HTMLDIR) $(DBDIR)
 
 	for p in build/server/*.tmpl; do    		              \
-		$(INSTALL) -m 0644 "$$p" $(CONFDIR)/templates/ ; \
+		$(INSTALL) -m 0644 "$$p" $(EGDIR)/templates/ ; \
 	done
-	$(INSTALL) -m 0644 server/logo.png $(CONFDIR)/templates/
-	$(INSTALL) -m 0644 server/style.css $(CONFDIR)/templates/
-	$(INSTALL) -m 0644 server/definitions.html $(CONFDIR)/templates/
-
-	test -f "$(CONFDIR)/munin.conf"  || $(INSTALL) -m 0644 build/server/munin.conf $(CONFDIR)/
+	$(INSTALL) -m 0644 server/logo.png $(EGDIR)/templates/
+	$(INSTALL) -m 0644 server/style.css $(EGDIR)/templates/
+	$(INSTALL) -m 0644 server/definitions.html $(EGDIR)/templates/
 
 	$(INSTALL) -m 0755 build/server/munin-cron $(BINDIR)/
 
@@ -71,7 +70,6 @@ install-node-non-snmp: build
 
 	$(INSTALL) -m 0755 build/node/munin-node $(SBINDIR)/
 	$(INSTALL) -m 0755 build/node/munin-node-configure $(SBINDIR)/
-	test -f "$(CONFDIR)/munin-node.conf" || $(INSTALL) -m 0644 build/node/munin-node.conf $(CONFDIR)/
 	$(INSTALL) -m 0755 build/node/munin-run $(SBINDIR)/
 	
 install-node-plugins: build