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