bin_SCRIPTS = \
- find-cmd.sh \
- list-dates.rb \
- other-commands \
- rsync-cmd.sh
+ burn-imgs.sh \
+ config.sh \
+ cron-burn.sh \
+ cron-pack.sh \
+ eject-disk.sh \
+ files-from-date.sh \
+ list-dates.sh \
+ pack-image.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 > $@