copy large target image files only once

This commit is contained in:
Axel Kohlmeyer 2020-02-11 11:07:55 +01:00
parent c8034d19c4
commit 002fff95c6
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ html: $(ANCHORCHECK)
@cp -r src/PDF html/PDF @cp -r src/PDF html/PDF
@cp -r src/USER html/USER @cp -r src/USER html/USER
@mkdir -p html/JPG @mkdir -p html/JPG
@cp -v `grep -A2 '\.\. image::' src/*.rst | grep ':target:' | sed -e 's,.*:target: JPG/,src/JPG/,'` html/JPG/ @cp `grep -A2 '\.\. image::' src/*.rst | grep ':target:' | sed -e 's,.*:target: JPG/,src/JPG/,' | sort | uniq` html/JPG/
@rm -rf html/PDF/.[sg]* @rm -rf html/PDF/.[sg]*
@rm -rf html/USER/.[sg]* @rm -rf html/USER/.[sg]*
@rm -rf html/USER/*/.[sg]* @rm -rf html/USER/*/.[sg]*