]> git.ozlabs.org Git - ccan/blobdiff - Makefile-web
Add a SHA512 implementation
[ccan] / Makefile-web
index c411c016c51e295593227babfa94da5656529221..a7f92970de19664f59578a4fb6257c5eab3cb070 100644 (file)
@@ -11,11 +11,11 @@ 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:
-       @FOUND=$$(echo $$(find ccan -name _info | sed 's,ccan/\(.*\)/_info,\1,' | sort) ); LISTED=$$(echo $$(echo $(MODS) | tr ' ' '\012' | sort) ); if [ "$$FOUND" = "$$LISTED" ]; then exit 0; fi; while true; do a="$${FOUND%% *}"; b="$${LISTED%% *}"; if [ "$$a" != "$$b" ]; then echo "$$a found but $$b in MOD" >&2; exit 1; fi; FOUND="$${FOUND#* }"; LISTED="$${LISTED#* }"; done
+       @FOUND=$$(echo $$(find ccan -name _info | sed 's,ccan/\(.*\)/_info,\1,' | sort) ); LISTED=$$(echo $$(echo $(MODS) | tr ' ' '\012' | sort) ); if [ "$$FOUND" = "$$LISTED" ]; then exit 0; fi; while true; do a="$${FOUND%% *}"; b="$${LISTED%% *}"; if [ "$$a" != "$$b" ]; then echo "'$$a' found but '$$b' in MOD" >&2; exit 1; fi; FOUND="$${FOUND#* }"; LISTED="$${LISTED#* }"; done
 
 clean-tree:
        [ "$(WEBDEV)" ] || ! git status --porcelain | grep .
@@ -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 $@