Revision 5455
Added by Aaron Marcuse-Kubitza over 12 years ago
common.Makefile | ||
---|---|---|
36 | 36 |
addFile = $(if $(wildcard $(1)),,touch $(1) && )svn add $(1) |
37 | 37 |
addDir = $(if $(wildcard $(1)/),svn add --depth=empty $(1),svn mkdir $(1)) |
38 | 38 |
revision = $(shell svn info $(1)|$(sed) -n 's/^Last Changed Rev: (.*)$$/\1/p') |
39 |
rootRevision = $(call revision,$(root)) |
|
40 |
version = $(date).r$(rootRevision) |
|
39 | 41 |
|
40 | 42 |
# rsync |
41 | 43 |
rsync* := "time" rsync$(if $(test), --dry-run) --archive --update --verbose\ |
Also available in: Unified diff
lib/common.Makefile: Added $(version), to replace $(date) for versioning log files, etc., and helper function $(rootRevision)