X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=example%2FMakefile.am;h=6e51c9a312ad29ad480db961adaf9747ba0be03f;hb=ae82bdf8b1748623ea97a99d3a2c76d36ee573af;hp=e22862bac033dfea481160d1471ae078a4a874e2;hpb=cdbbeef9cde260e429854dd313bc0bf7560e1e24;p=debian%2Famanda diff --git a/example/Makefile.am b/example/Makefile.am index e22862b..6e51c9a 100644 --- a/example/Makefile.am +++ b/example/Makefile.am @@ -1,10 +1,45 @@ # Makefile for sample configuration files -noinst_DATA = amanda.conf \ - amanda-client.conf +include $(top_srcdir)/config/automake/vars.am +include $(top_srcdir)/config/automake/installperms.am -EXTRA_DIST = chg-multi.conf chg-scsi.conf config.site disklist \ - DLT.ps EXB-8500.ps HP-DAT.ps 8.5x11.ps 3hole.ps DIN-A4.ps \ +amanda_dir = $(amdatadir) +templatedir = $(amanda_dir)/template.d +exampledir = $(amanda_dir)/example +lbltempldir = $(amanda_dir)/example/label-templates + +EXTRA_DIST += chg-multi.conf \ + chg-scsi.conf \ + config.site \ + disklist \ chg-mcutil.conf +dist_template_DATA = template.d/advanced.conf \ + template.d/amanda-harddisk.conf \ + template.d/amanda-single-tape.conf \ + template.d/amanda-tape-changer.conf \ + template.d/amanda-S3.conf \ + template.d/dumptypes \ + template.d/tapetypes \ + template.d/README \ + template.d/chg-manual.conf + +dist_example_DATA = amanda.conf \ + amanda-client.conf \ + inetd.conf.amandaclient \ + inetd.conf.amandaserver \ + xinetd.amandaclient \ + xinetd.amandaserver + +dist_lbltempl_DATA = DLT.ps \ + EXB-8500.ps \ + HP-DAT.ps \ + 8.5x11.ps \ + 3hole.ps \ + DLT-A4.ps \ + DIN-A4.ps +INSTALLPERMS_data = chown=amanda \ + dest=$(templatedir) $(dist_template_DATA) \ + dest=$(exampledir) $(dist_example_DATA) \ + dest=$(libtempldir) $(dist_libtempl_DATA)