fix size ^2^
This commit is contained in:
parent
c2757c6e81
commit
53038031dd
1 changed files with 3 additions and 2 deletions
5
Makefile
5
Makefile
|
@ -128,11 +128,12 @@ distdirminified: distdir
|
|||
|
||||
size: $(PROGNAME)
|
||||
size: SIZEFILES = $(PROGNAME) $(filter-out $(VSCFILES) COPYING,$(EXTRAFILES))
|
||||
size: SIZEINFOS = ("; printf $$1; print ", soit `$(shell echo $(SIZEFILES) | sed 's/ /`, `/g')`)"
|
||||
size: SIZEINFOS = ("; printf $$1; print "Ko - soit `$(shell echo $(SIZEFILES) | sed 's/ /`, `/g')`)"
|
||||
size:
|
||||
@$(DU) --total $(SIZEFILES) | \
|
||||
$(TAIL) -n 1 | \
|
||||
$(GREP) -o '[0-9]*K'| \
|
||||
$(GREP) 'K' | \
|
||||
$(GREP) -o '[0-9]*'| \
|
||||
$(AWK) '{ \
|
||||
if($$1 <= $(MAXSIZE)) { \
|
||||
printf "> Taille conforme $(SIZEINFOS) \
|
||||
|
|
Reference in a new issue