Merging release-0.2.1
[backups/.git] / scripts / Makefile.am
1 bin_SCRIPTS = \
2         burn-imgs.sh \
3         config.sh \
4         cron-burn.sh \
5         cron-pack.sh \
6         eject-disk.sh \
7         files-from-date.sh \
8         list-dates.sh \
9         pack-image.sh \
10         restore-script.sh \
11         restore.sh
12
13 EXTRA_DIST = $(bin_SCRIPTS) restore-header.sh
14
15 restore_scripts = \
16         files-from-date.sh \
17         list-dates.sh \
18         restore-script.sh
19
20 restore_tar = restore.tgz
21
22 restore.sh : restore-header.sh $(restore_tar)
23         { cat $<; cat $(restore_tar); } > $@
24         chmod +x $@
25
26 $(restore_tar) : $(restore_scripts)
27         ( cd $(top_srcdir)/scripts && tar cf - $(restore_scripts) ) | gzip > $@