]> git.ozlabs.org Git - ccan/blobdiff - Makefile-web
Makefile-web: Download prettify from git
[ccan] / Makefile-web
index c411c016c51e295593227babfa94da5656529221..3b9f11124824450b19077d2cf616889c8d376460 100644 (file)
@@ -11,7 +11,7 @@ JUNKBALLS=$(JUNKDIRS:%=$(WEBDIR)/%.tar.bz2)
 PRETTIFY=$(WEBDIR)/prettify/src/run_prettify.js $(WEBDIR)/prettify/src/prettify.css
 
 upload: fastcheck modcheck
-       git push HEAD:master
+       git push
 
 # Check MODS list in Makefile-ccan matches modules we find.
 modcheck:
@@ -29,7 +29,7 @@ $(WEB_SUBDIRS): $(WEBDIR)
        mkdir -p $@
 
 $(PRETTIFY):
-       svn checkout http://google-code-prettify.googlecode.com/svn/trunk/ $(WEBDIR)/prettify
+       git clone --depth=1 https://github.com/google/code-prettify.git $(WEBDIR)/prettify
 
 $(WEBDIR)/junkcode/%.tar.bz2: junkcode/% $(WEBDIR)/junkcode
        git ls-files -z $< | xargs -0 -x tar cvfj $@