Project

General

Profile

« Previous | Next » 

Revision 6966

lib/common.Makefile: $(date): Factored date format out into $(dateFmt)

View differences:

lib/common.Makefile
37 37
os := $(shell uname)
38 38
isMac := $(filter Darwin,$(os))
39 39
forOs = $(patsubst %,%-$(filter Linux Darwin,$(os)),$(1))
40
date = $(shell date +"%-Y-%-m-%-d %-H:%M:%S %Z")
40
dateFmt := %-Y-%-m-%-d %-H:%M:%S %Z
41
date = $(shell date +"$(dateFmt)")
41 42

  
42 43
# Terminal
43 44
esc := '['

Also available in: Unified diff