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