Create cron.sh for running from cron also create config.sh
[backups/.git] / scripts / Makefile.am
index ba618aaa3f466883c1274f3456f9e7a3f200bb42..391c6a7fa94c64ee836a16df34483f04a1e955b8 100644 (file)
@@ -1,7 +1,9 @@
 bin_SCRIPTS = \
-       drive.sh \
+       config.sh \
+       cron.sh \
        files-from-date.sh \
        list-dates.sh \
+       pack-image.sh \
        restore-script.sh \
        restore.sh
 
@@ -19,4 +21,4 @@ restore.sh : restore-header.sh $(restore_tar)
        chmod +x $@
 
 $(restore_tar) : $(restore_scripts)
-       tar cf - $^ | gzip > $@
+       ( cd $(top_srcdir)/scripts && tar cf - $(restore_scripts) ) | gzip > $@