Skip to content
This repository has been archived by the owner on Aug 5, 2021. It is now read-only.

Commit

Permalink
GNUmakefile: allow RSYNC variable to be overridden
Browse files Browse the repository at this point in the history
This lets me use RSYNC=echo when testing/editing documentation
without actually publishing it.
  • Loading branch information
Eric Wong committed Jun 17, 2010
1 parent bb6b693 commit 333f22b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion GNUmakefile
Expand Up @@ -8,6 +8,7 @@ MRI = ruby
RUBY = ruby
RAKE = rake
RAGEL = ragel
RSYNC = rsync

GIT-VERSION-FILE: .FORCE-GIT-VERSION-FILE
@./GIT-VERSION-GEN
Expand Down Expand Up @@ -221,7 +222,7 @@ publish_doc:
$(MAKE) doc_gz
tar cf - $$(git ls-files examples/) | (cd doc && tar xf -)
chmod 644 $$(find doc -type f)
rsync -av doc/ unicorn.bogomips.org:/srv/unicorn/
$(RSYNC) -av doc/ unicorn.bogomips.org:/srv/unicorn/
git ls-files | xargs touch

# Create gzip variants of the same timestamp as the original so nginx
Expand Down

0 comments on commit 333f22b

Please sign in to comment.