From c324c5795176ace49f364980e4a9fa0ece31b030 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 1 Apr 2006 15:11:32 +0000 Subject: Add rsync target to help with testing fetchmail compiles. svn path=/branches/BRANCH_6-3/; revision=4768 --- Makefile.am | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 2a7b3401..a4476777 100644 --- a/Makefile.am +++ b/Makefile.am @@ -156,6 +156,13 @@ dist-hook: lsm: genlsm.sh dist $(SHELL) genlsm.sh >$(PACKAGE)-$(VERSION).lsm +# this target expects a .rsyncs file with lines of this format: +# host:directory/ +# it will call rsync from its source directory to the destination for +# each of them, running them in parallel +rsync: distdir $(srcdir)/.rsyncs + @( cat $(srcdir)/.rsyncs | sed -e 's}^}rsync -aH --delete-after $(PACKAGE)-$(VERSION)/ }; s/\($$\)/ \&/;' ; echo "wait" ) | $(SHELL) -x + # The following sets edit modes for GNU EMACS. # Local Variables: # compile-command:"configure" -- cgit v1.2.3