X-Git-Url: http://git.pippins.net/embedvideo/.git/static/git-logo.png?a=blobdiff_plain;f=scripts%2FMakefile.am;h=a4cb5768639f95344abb78d9b721a95b75adc45a;hb=5c8c182b0f51eaa5fca5f917ed5cda5f12fb7366;hp=ae9e2f46e29fd544f46ddf73ee20cf60a4bff919;hpb=bd08bba973b9157a83116c7449fc16c12cc9cbcc;p=backups%2F.git diff --git a/scripts/Makefile.am b/scripts/Makefile.am index ae9e2f4..a4cb576 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -1,8 +1,24 @@ bin_SCRIPTS = \ - files-from-date.rb \ - find-cmd.sh \ - list-dates.sh \ - other-commands \ - rsync-cmd.sh + drive.sh \ + files-from-date.sh \ + find-cmd.sh \ + list-dates.sh \ + restore-script.sh \ + rsync-cmd.sh \ + restore.sh EXTRA_DIST = $(bin_SCRIPTS) + +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 > $@