From 203484ad5723258174a561c1486d4dc0264bfc7b Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 16 Feb 2012 18:16:22 -0500 Subject: [PATCH] Update Hooke doc building to use the Git repo and external update-copyright.py. --- posts/Hooke/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) -- 2.26.2