Create cron.sh for running from cron also create config.sh
[backups/.git] / scripts / Makefile.am
index a4cb5768639f95344abb78d9b721a95b75adc45a..391c6a7fa94c64ee836a16df34483f04a1e955b8 100644 (file)
@@ -1,13 +1,13 @@
 bin_SCRIPTS = \
-       drive.sh \
+       config.sh \
+       cron.sh \
        files-from-date.sh \
-       find-cmd.sh \
        list-dates.sh \
+       pack-image.sh \
        restore-script.sh \
-       rsync-cmd.sh \
        restore.sh
 
-EXTRA_DIST = $(bin_SCRIPTS)
+EXTRA_DIST = $(bin_SCRIPTS) restore-header.sh
 
 restore_scripts = \
        files-from-date.sh \
@@ -21,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 > $@