From d99fdd1128468c618d1de7cc7b3f578498eccbe5 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 12 Mar 2015 15:14:58 +0000 Subject: Changes for working in a cabal sandbox --- htdocs.do | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'htdocs.do') diff --git a/htdocs.do b/htdocs.do index 8470901..6e70576 100644 --- a/htdocs.do +++ b/htdocs.do @@ -1,2 +1,3 @@ redo-ifchange all -rsync -Rav --delete style.css *.html lists/*.html posts/*.html tex/*/*.svg htdocs/ >&2 +find . \( -name '*.html' -or -name '*.css' -or -name '*.svg' \) -and -not \( -path '*/.cabal-sandbox/*' -or -path '*/htdocs/*' -or -path '*/build/*' \) -print0 | \ +xargs -0 -I '{}' -- rsync -Rav --delete '{}' htdocs >&2 -- cgit v1.2.3