X-Git-Url: http://git.pippins.net/embedvideo/.git/static/gitweb.js?a=blobdiff_plain;f=scripts%2FMakefile.am;h=ba618aaa3f466883c1274f3456f9e7a3f200bb42;hb=c56f7393d14263e06a1a4425fc5a855679b68831;hp=1d1126c73e128d475327a2009f5c5c4e4cf1385e;hpb=5bb8f6ee3cb685dda402115e11d05ce6cea39dea;p=backups%2F.git diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 1d1126c..ba618aa 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -1,7 +1,22 @@ bin_SCRIPTS = \ - find-cmd.sh \ - list-dates.rb \ - 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 > $@