X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=Makefile-web;h=a7f92970de19664f59578a4fb6257c5eab3cb070;hp=a84b95902034cfc5f2684d65864e1a06f9ed5fc5;hb=3e1be50f117fee7d3bc6c4a56e71c15495f3bcad;hpb=9d4ae5f1313a25c99cd5b909ee1038e4424b46cb diff --git a/Makefile-web b/Makefile-web index a84b9590..a7f92970 100644 --- a/Makefile-web +++ b/Makefile-web @@ -15,7 +15,7 @@ upload: fastcheck modcheck # 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 $@