bin_SCRIPTS = \ drive.sh \ files-from-date.sh \ find-cmd.sh \ list-dates.sh \ restore-script.sh \ rsync-cmd.sh \ restore.sh EXTRA_DIST = $(bin_SCRIPTS) restore_scripts = \ files-from-date.sh \ list-dates.sh \ restore-script.sh restore_tar = restore.tgz restore.sh : restore-header.sh $(restore_tar) { cat $<; cat $(restore_tar); } > $@ chmod +x $@ $(restore_tar) : $(restore_scripts) tar cf - $^ | gzip > $@