X-Git-Url: http://git.pippins.net/embedvideo/.git/static/git-logo.png?a=blobdiff_plain;f=scripts%2FMakefile.am;h=eea43a0e52552fd5eea29f013085b63364a01b36;hb=a74a89d79bb29b97ac1b6710e1f52a832793e6ff;hp=6711a003ea687e3b96121d3a7345c482dac3246c;hpb=cbfcd06cb32cc5c35bfb8ddb499cb952024068a4;p=backups%2F.git diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 6711a00..eea43a0 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -1,8 +1,22 @@ bin_SCRIPTS = \ - files-from-date.rb \ - find-cmd.sh \ - list-dates.rb \ - other-commands \ - rsync-cmd.sh + pack-image.sh \ + files-from-date.sh \ + list-dates.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 > $@