From: W. Trevor King Date: Thu, 16 Feb 2012 23:16:22 +0000 (-0500) Subject: Update Hooke doc building to use the Git repo and external update-copyright.py. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=203484ad5723258174a561c1486d4dc0264bfc7b;p=blog.git Update Hooke doc building to use the Git repo and external update-copyright.py. --- diff --git a/posts/Hooke/Makefile b/posts/Hooke/Makefile index deaa134..7a88c79 100644 --- a/posts/Hooke/Makefile +++ b/posts/Hooke/Makefile @@ -1,4 +1,4 @@ -REPO = http://www.physics.drexel.edu/~wking/code/hg/hooke/ +REPO = git://tremily.us/hooke.git PACKAGE = hooke .PHONY : all checkout clean @@ -9,16 +9,16 @@ clean : rm -rf $(PACKAGE) README.rst html $(PACKAGE) : - hg clone $(REPO) $@ + git clone $(REPO) $@ checkout : $(PACKAGE) - (cd $(PACKAGE) && hg pull && hg update wtk) + (cd $(PACKAGE) && git checkout wtk && git pull) README.rst : checkout cp $(PACKAGE:%=%/README) $@ $(PACKAGE:%=%/hooke/version.py) : checkout - (cd $(PACKAGE) && ./update_copyright.py) + (cd $(PACKAGE) && update-copyright.py) .PHONY : $(PACKAGE:%=%/doc/build/html) $(PACKAGE:%=%/doc/build/html) : $(PACKAGE:%=%/hooke/version.py)