+template_generated_FILE = $(template_in_FILE:%.in=%)
+template_DATA = $(template_FILE) $(template_generated_FILE)
+EXTRA_DIST += $(template_FILE) $(template_in_FILE)
+DISTCLEANFILES += $(template_generated_FILE)
+
+
+server_example_in_FILE = \
+ amanda.conf.in \
+ inetd.conf.amandaserver.in \
+ xinetd.amandaserver.in
+server_example_FILE = \
+ chg-multi.conf \
+ chg-scsi.conf \
+ disklist
+server_example_generated_FILE = $(server_example_in_FILE:%.in=%)
+server_example_DATA = $(server_example_FILE) $(server_example_generated_FILE)
+EXTRA_DIST += $(server_example_FILE) $(server_example_in_FILE)
+DISTCLEANFILES += $(server_example_generated_FILE)
+
+client_example_in_FILE = \
+ amanda-client.conf.in \
+ amanda-client-postgresql.conf.in \
+ inetd.conf.amandaclient.in \
+ xinetd.amandaclient.in
+client_example_FILE =
+client_example_generated_FILE = $(client_example_in_FILE:%.in=%)
+client_example_DATA = $(client_example_FILE) $(client_example_generated_FILE)
+EXTRA_DIST += $(client_example_FILE) $(client_example_in_FILE)
+DISTCLEANFILES += $(client_example_generated_FILE)