X-Git-Url: http://git.pippins.net/embedvideo/.git/static/gitweb.js?a=blobdiff_plain;f=scripts%2FMakefile.am;h=ba618aaa3f466883c1274f3456f9e7a3f200bb42;hb=ec0fa7c570c25174b2749ec2314746cb1d513ab8;hp=92bd941a0c3c92923eddb39f997017a714a67001;hpb=64041aeff4045970d61980ebe08a06c647dd336c;p=backups%2F.git diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 92bd941..ba618aa 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -1,8 +1,22 @@ bin_SCRIPTS = \ - files-from-date.sh \ - find-cmd.sh \ - list-dates.sh \ - other-commands \ - rsync-cmd.sh + drive.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) + tar cf - $^ | gzip > $@