Pick three bugfixes from next branch to trunk for inclusion in 4.5.0 RC2, as discusse...
[sdcc.git] / sdcc-cf / packages / build.rsync / Makefile
blob9783c643b57cb8671ac0a3e7a61ae7aced6f0c8b
1 include ../packages.mk
3 VERSION=3.0.8
5 RSYNC_DIR=rsync-$(VERSION)
7 .PHONY: all
8 all: rsync-install.tag clean
10 download/rsync-$(VERSION).tar.gz:
11 wget -P download ftp://ftp.samba.org/pub/rsync/rsync-$(VERSION).tar.gz
13 rsync-download.tag: download/rsync-$(VERSION).tar.gz
14 touch $@
16 rsync-unpack.tag: rsync-download.tag
17 tar xzvf download/$(RSYNC_DIR).tar.gz
18 touch $@
20 rsync-configure.tag: rsync-unpack.tag
21 cd $(RSYNC_DIR) && \
22 ./configure --prefix=$(LOCAL_DIR)
23 touch $@
25 rsync-make.tag: rsync-configure.tag
26 $(MAKE) -C $(RSYNC_DIR)
27 touch $@
29 rsync-install.tag: rsync-make.tag
30 $(MAKE) -C $(RSYNC_DIR) install
31 touch $@
33 clean:
34 rm -rf $(RSYNC_DIR) *.tag