Project

General

Profile

« Previous | Next » 

Revision 6909

lib/common.Makefile: Revisions: Allow $(version) to be overridden in the environment, so that the public schema and all log files share the same, pregenerated version

View differences:

common.Makefile
49 49
rootRevisions = $(foreach rootRevision,$(rootRevision),$(if\
50 50
$(rootRevisionsEqual),$(initRootRevision),$(initRootRevision)-$(rootRevision)))
51 51
    # only evaluate $(rootRevision) once
52
version = $(date).r$(rootRevisions)
52
version ?= $(date).r$(rootRevisions)
53 53

  
54 54
# rsync
55 55
rsync* := "time" rsync$(if $(test), --dry-run) --archive --update --verbose\

Also available in: Unified diff