image.in/Makefile: output image size too
Checking the image size is one of the usual things after building it, and there's some media related testing to be ported from m-p-d as well.
This commit is contained in:
parent
50a0c66899
commit
ece828c0dc
@ -61,7 +61,8 @@ imagedir:
|
||||
|
||||
postprocess: | $(addprefix postprocess-,$(sort $(POSTPROCESS_TARGETS)))
|
||||
@OUTPATH="$(IMAGEDIR)/$(IMAGE_OUTFILE)"; \
|
||||
echo "** image: $$OUTPATH" >&2 && \
|
||||
OUTSIZE="`ls -lh "$$OUTPATH" | cut -f5 -d' '`"; \
|
||||
echo "** image: $$OUTPATH [$$OUTSIZE]" >&2 && \
|
||||
ln -sf "$(IMAGE_OUTFILE)" "$(IMAGEDIR)/$(IMAGE_LINK)" && \
|
||||
ln -sf "$${IMAGEDIR#`pwd`/}" "$(OUT_LINK)"; \
|
||||
ln -sf "$(IMAGE_LINK)" $(OUT_LINK)/"$(CURRENT_LINK).$(IMAGE_TYPE)"; \
|
||||
|
Loading…
Reference in New Issue
Block a user