diff options
author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2009-02-02 13:41:45 +0100 |
---|---|---|
committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2009-02-02 13:41:45 +0100 |
commit | a61107a5885a2b04397ec839b4b8b2586c328eda (patch) | |
tree | 66517d22a9d4ee47a2f654d9e42fe595e0ad1b9e /git-rpm.mk | |
parent | 0e2aeb90889e04e72ffe286ad88bc647100f1323 (diff) | |
download | git-rpm-a61107a5885a2b04397ec839b4b8b2586c328eda.tar.gz git-rpm-a61107a5885a2b04397ec839b4b8b2586c328eda.tar.xz git-rpm-a61107a5885a2b04397ec839b4b8b2586c328eda.zip |
Make rsync faster: Use tarballs in existing dirs
Presume that for each tag, there is a remote directory with files
created with "make upload". If there are, rsync can get the source
tarballs from there unchanged, and does not need to upload it again.
The .src.rpm which contains the whole tarball in its belly still
needs to be uploaded, though.
Diffstat (limited to 'git-rpm.mk')
-rw-r--r-- | git-rpm.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -118,7 +118,7 @@ $(NVR)/%: % $(NVR): $(UPLOAD_FILES) mkdir -p $(NVR) - rsync -avz --delete $(NVR)/ $(RSYNC_USHO):$(RSYNC_DIR)/ + rsync -avz --delete $(foreach x,$(shell git tag -l),--link-dest=../$(subst $(NAME)-,,$(x))) $(NVR)/ $(RSYNC_USHO):$(RSYNC_DIR)/ touch $@ .PHONY: clean |