Revision 6967
Added by Aaron Marcuse-Kubitza about 12 years ago
lib/common.Makefile | ||
---|---|---|
39 | 39 |
forOs = $(patsubst %,%-$(filter Linux Darwin,$(os)),$(1)) |
40 | 40 |
dateFmt := %-Y-%-m-%-d %-H:%M:%S %Z |
41 | 41 |
date = $(shell date +"$(dateFmt)") |
42 |
mtime = $(shell $(if $(isMac),stat -f %Sm -t "$(dateFmt)" $(1),date\ |
|
43 |
--reference=$(1) +"$(dateFmt)")) |
|
42 | 44 |
|
43 | 45 |
# Terminal |
44 | 46 |
esc := '[' |
Also available in: Unified diff
lib/common.Makefile: System: Added $(mtime)