Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
ece828c0
Commit
ece828c0
authored
Mar 29, 2012
by
Michael Shigorin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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.
parent
50a0c668
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Makefile
image.in/Makefile
+2
-1
No files found.
image.in/Makefile
View file @
ece828c0
...
...
@@ -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)
"
;
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment