diff -up amanda-3.1.0/example/Makefile.am.example amanda-3.1.0/example/Makefile.am
--- amanda-3.1.0/example/Makefile.am.example 2010-06-01 21:21:59.000000000 +0200
+++ amanda-3.1.0/example/Makefile.am 2010-06-23 15:53:42.693848261 +0200
@@ -4,10 +4,10 @@ include $(top_srcdir)/config/automake/va
include $(top_srcdir)/config/automake/installperms.am
amanda_dir = $(amdatadir)
-templatedir = $(amanda_dir)/template.d
-server_exampledir = $(amanda_dir)/example
-client_exampledir = $(amanda_dir)/example
-lbltempldir = $(amanda_dir)/example/label-templates
+templatedir = $(localstatedir)/lib/amanda/template.d
+server_exampledir = $(sysconfdir)/amanda/example
+client_exampledir = $(sysconfdir)/amanda/example
+lbltempldir = $(sysconfdir)/amanda/example/label-templates
template_in_FILE = \
template.d/advanced.conf.in \