1# Makefile for sample configuration files 2 3include $(top_srcdir)/config/automake/vars.am 4include $(top_srcdir)/config/automake/installperms.am 5 6amanda_dir = $(amdatadir) 7templatedir = $(amanda_dir)/template.d 8server_exampledir = $(amanda_dir)/example 9client_exampledir = $(amanda_dir)/example 10lbltempldir = $(amanda_dir)/example/label-templates 11 12template_in_FILE = \ 13 template.d/advanced.conf.in \ 14 template.d/amanda-harddisk.conf.in \ 15 template.d/amanda-single-tape.conf.in \ 16 template.d/amanda-tape-changer.conf.in \ 17 template.d/amanda-S3.conf.in 18template_FILE = \ 19 template.d/dumptypes \ 20 template.d/tapetypes \ 21 template.d/README \ 22 template.d/chg-manual.conf 23template_generated_FILE = $(template_in_FILE:%.in=%) 24template_DATA = $(template_FILE) $(template_generated_FILE) 25EXTRA_DIST += $(template_FILE) $(template_in_FILE) 26DISTCLEANFILES += $(template_generated_FILE) 27 28 29server_example_in_FILE = \ 30 amanda.conf.in \ 31 inetd.conf.amandaserver.in \ 32 xinetd.amandaserver.in \ 33 amandaserver.xml.in 34server_example_FILE = \ 35 chg-multi.conf \ 36 chg-scsi.conf \ 37 disklist 38server_example_generated_FILE = $(server_example_in_FILE:%.in=%) 39server_example_DATA = $(server_example_FILE) $(server_example_generated_FILE) 40EXTRA_DIST += $(server_example_FILE) $(server_example_in_FILE) 41DISTCLEANFILES += $(server_example_generated_FILE) 42 43client_example_in_FILE = \ 44 amanda-client.conf.in \ 45 amanda-client-postgresql.conf.in \ 46 inetd.conf.amandaclient.in \ 47 xinetd.amandaclient.in \ 48 amandaclient.xml.in 49client_example_FILE = 50client_example_generated_FILE = $(client_example_in_FILE:%.in=%) 51client_example_DATA = $(client_example_FILE) $(client_example_generated_FILE) 52EXTRA_DIST += $(client_example_FILE) $(client_example_in_FILE) 53DISTCLEANFILES += $(client_example_generated_FILE) 54 55 56lbltempl_DATA = DLT.ps \ 57 EXB-8500.ps \ 58 HP-DAT.ps \ 59 8.5x11.ps \ 60 3hole.ps \ 61 DLT-A4.ps \ 62 DIN-A4.ps 63EXTRA_DIST += $(lbltempl_DATA) 64 65# build foo from foo.in where necessary 66%: %.in $(top_builddir)/config.status 67 $(top_builddir)/config.status --file=$@:$< 68 69# config.status leaves config.log files around 70CLEANFILES += config.log 71