X-Git-Url: http://git.pippins.net/embedvideo/.git/static/gitweb.js?a=blobdiff_plain;f=scripts%2FMakefile.am;h=99544ba8bdc5d2644c2fa9c74086aba036dbfaab;hb=11f8577868ae1df57eb7d06c9f4e5c361330f2fd;hp=ae9e2f46e29fd544f46ddf73ee20cf60a4bff919;hpb=bd08bba973b9157a83116c7449fc16c12cc9cbcc;p=backups%2F.git diff --git a/scripts/Makefile.am b/scripts/Makefile.am index ae9e2f4..99544ba 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -1,8 +1,27 @@ bin_SCRIPTS = \ - files-from-date.rb \ - find-cmd.sh \ - list-dates.sh \ - other-commands \ - rsync-cmd.sh + burn-imgs.sh \ + config.sh \ + cron-burn.sh \ + cron-pack.sh \ + eject-disk.sh \ + files-from-date.sh \ + list-dates.sh \ + pack-image.sh \ + restore-script.sh \ + restore.sh -EXTRA_DIST = $(bin_SCRIPTS) +EXTRA_DIST = $(bin_SCRIPTS) restore-header.sh + +restore_scripts = \ + files-from-date.sh \ + list-dates.sh \ + restore-script.sh + +restore_tar = restore.tgz + +restore.sh : restore-header.sh $(restore_tar) + { cat $<; cat $(restore_tar); } > $@ + chmod +x $@ + +$(restore_tar) : $(restore_scripts) + ( cd $(top_srcdir)/scripts && tar cf - $(restore_scripts) ) | gzip > $@