X-Git-Url: http://git.pippins.net/embedvideo/.git/.%24link.?a=blobdiff_plain;f=scripts%2FMakefile.am;h=391c6a7fa94c64ee836a16df34483f04a1e955b8;hb=d8f9460417bda64c8204c87b318b3432ad4a90a3;hp=95e619cf9207254dd1045a57351213657970f0dd;hpb=f5d92011429ec87196013fe7aef0ff4754a8088d;p=backups%2F.git diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 95e619c..391c6a7 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -1,5 +1,24 @@ -EXTRA_DIST= \ - find-cmd.sh \ - list-dates.rb \ - other-commands \ - rsync-cmd.sh +bin_SCRIPTS = \ + config.sh \ + cron.sh \ + files-from-date.sh \ + list-dates.sh \ + pack-image.sh \ + restore-script.sh \ + restore.sh + +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 > $@