some extra infos
This commit is contained in:
parent
4f4b51b57b
commit
f880906d56
1 changed files with 5 additions and 3 deletions
8
Makefile
8
Makefile
|
@ -125,14 +125,16 @@ distdirminified: distdir
|
||||||
@$(RM) $(MINIFIER)
|
@$(RM) $(MINIFIER)
|
||||||
|
|
||||||
size: $(PROGNAME)
|
size: $(PROGNAME)
|
||||||
|
size: SIZEFILES = $(PROGNAME) $(filter-out $(VSCFILES) COPYING,$(EXTRAFILES))
|
||||||
|
size: SIZEINFOS = ("; printf $$1; print ", soit $(foreach f,$(SIZEFILES),$(f),))"
|
||||||
size:
|
size:
|
||||||
@$(DU) --total $(PROGNAME) $(filter-out $(VSCFILES) $(DOXYFILE) COPYING,$(EXTRAFILES)) | \
|
@$(DU) --total $(SIZEFILES) | \
|
||||||
$(TAIL) -n 1 | \
|
$(TAIL) -n 1 | \
|
||||||
$(GREP) -o '[0-9]*K'| \
|
$(GREP) -o '[0-9]*K'| \
|
||||||
$(AWK) '{ \
|
$(AWK) '{ \
|
||||||
if($$1 <= $(MAXSIZE)) { \
|
if($$1 <= $(MAXSIZE)) { \
|
||||||
printf "> Taille conforme ("; printf $$1; print ")" \
|
printf "> Taille conforme $(SIZEINFOS) \
|
||||||
} else { \
|
} else { \
|
||||||
printf "> Fichiers trop lourd ("; printf $$1; print ")" \
|
printf "> Fichiers trop lourd $(SIZEINFOS) \
|
||||||
} \
|
} \
|
||||||
}'
|
}'
|
||||||
|
|
Reference in a new issue