X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=example%2FMakefile.am;h=6e51c9a312ad29ad480db961adaf9747ba0be03f;hb=4c1ccb1744023f81a8e7601e9e90da31237d3674;hp=397e009ccf48db7f79591003fe76fbfa808a9d26;hpb=1194fb66aa28d9929c3f2bef3cc6c1c3f40a60a4;p=debian%2Famanda diff --git a/example/Makefile.am b/example/Makefile.am index 397e009..6e51c9a 100644 --- a/example/Makefile.am +++ b/example/Makefile.am @@ -1,7 +1,45 @@ # Makefile for sample configuration files -noinst_DATA = amanda.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)