Project

General

Profile

« Previous | Next » 

Revision 13018

lib/common.Makefile: added $(nice) and use it everywhere its definition is used

View differences:

common.Makefile
48 48
date = $(shell date +"$(dateFmt)")
49 49
mtime = $(shell $(if $(isMac),stat -f %Sm -t "$(dateFmt)" $(1),date\
50 50
--reference=$(1) +"$(dateFmt)"))
51
nice := nice -n +5
51 52

  
52 53
# Terminal
53 54
esc := '['
......
132 133
##### Checksums
133 134

  
134 135
%.md5: %
135
	nice -n +5 md5sum $<|cut -d ' ' -f 1 >$@
136
	$(nice) md5sum $<|cut -d ' ' -f 1 >$@
136 137

  
137 138
# Run with `make -s` to avoid echoing make commands
138 139
%.md5/test: %.md5 % _always
139
	echo '$(shell cat $<)  $*'|nice -n +5 md5sum -$(if $(isMac),v)c /dev/stdin
140
	echo '$(shell cat $<)  $*'|$(nice) md5sum -$(if $(isMac),v)c /dev/stdin
140 141

  
141 142
##### Compression
142 143

  

Also available in: Unified diff