forked from lijiext/lammps
copy large target image files only once
This commit is contained in:
parent
c8034d19c4
commit
002fff95c6
|
@ -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]*
|
||||||
|
|
Loading…
Reference in New Issue