$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
