Skip to content

Commit 310bda0

Browse files
author
Sam Kleinman
committed
build: only using rsync for multi-file local copy operations
1 parent 83e31a0 commit 310bda0

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

bin/makefile-builder/errors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ def build_all_error_pages(error_pages):
1919
block='page')
2020
m.target(target=dep, dependency='$(branch-output)/dirhtml', block='page')
2121
m.target(target=build, dependency=dep, block='page')
22-
m.job('sed $(SED_ARGS_FILE) "s@\.\./\.\./@http://docs.mongodb.org/manual/@" $<',
22+
m.job('sed $(SED_ARGS_FILE) "s@\.\./\.\./@http://docs.mongodb.org/manual/@" $<',
2323
block='page')
2424
m.job('mkdir -p $(dir $@)', block='page')
25-
m.job('rsync $< $@', block='page')
25+
m.job('cp $< $@', block='page')
2626
m.msg('[web]: processed error page: $@', block='page')
2727

2828
m.newline(block='page')

bin/makefile-builder/migrations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def build_all_migrations(migrations):
1818
dependency=migration[1],
1919
block=block)
2020
m.job('mkdir -p ' + dependency, block=block)
21-
m.job('rsync $< $@', block=block)
21+
m.job('cp $< $@', block=block)
2222
m.msg('[build]: migrated $@', block=block)
2323
m.newline(block=block)
2424

bin/makefile-builder/pdfs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from makefile_builder import MakefileBuilder
55
from builder_data import pdfs as pdfs_to_build
66

7-
# to add a pdf to the build process, add a tuple to the ``pdfs`` list in the builder definition file.
7+
# to add a pdf to the build process, add a tuple to the ``pdfs`` list in the builder definition file.
88

99
m = MakefileBuilder()
1010

@@ -23,7 +23,7 @@ def pdf_makefile(name, tag):
2323

2424
m.target(target='$(public-branch-output)/' + name_tagged + '-$(current-branch).pdf',
2525
dependency='$(branch-output)/latex/' + name_tagged + '.pdf')
26-
m.job('rsync $< $@')
26+
m.job('cp $< $@')
2727
m.msg('[build]: migrated $@')
2828

2929
m.target(target='$(public-branch-output)/' + name_tagged + '.pdf',

bin/makefile-builder/texinfo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def build_texinfo_manual(info):
4242

4343
m.target(target='$(public-branch-output)/' + ofile,
4444
dependency=build_loc + ofile)
45-
m.job('rsync $< $@')
45+
m.job('cp $< $@')
4646
m.msg('[build]: migrated $@')
4747

4848
final_output = '$(public-branch-output)/' + info + '-info.tar.gz'

makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ $(public-branch-output)/single:$(branch-output)/singlehtml
7373
@touch $@
7474
@echo [build]: migrated '$</*' to '$@'
7575
$(public-branch-output)/single/index.html:$(branch-output)/singlehtml/contents.html
76-
@rsync $< $@
76+
@cp $< $@
7777
@sed $(SED_ARGS_FILE) -e 's/href="contents.html/href="index.html/g' \
7878
-e 's/name="robots" content="index"/name="robots" content="noindex"/g' \
7979
-e 's/(href=")genindex.html"/\1..\/genindex\/"/g' $@

0 commit comments

Comments
 (0)