Project

General

Profile

« Previous | Next » 

Revision 5454

lib/common.Makefile: Added $(revision)

View differences:

common.Makefile
35 35
# SVN
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
revision = $(shell svn info $(1)|$(sed) -n 's/^Last Changed Rev: (.*)$$/\1/p')
38 39

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

Also available in: Unified diff