Project

General

Profile

« Previous | Next » 

Revision 1590

inputs/Makefile: %-add: `svn mkdir` the datasource's standard subdirs

View differences:

inputs/Makefile
8 8
--makefile=../input.Makefile
9 9
# input.Makefile path is relative to subdir
10 10

  
11
# SVN
12
svnMkdir = $(if $(wildcard $(1)/),,svn mkdir $(1))
13

  
11 14
##### General targets
12 15

  
13 16
all:
......
36 39

  
37 40
##### SVN
38 41

  
42
# Adds a new datasource
39 43
%-add: _always
40
	svn mkdir $*
44
	$(call svnMkdir,$*)
45
	$(call svnMkdir,$*/src)
46
	$(call svnMkdir,$*/maps)
47
	$(call svnMkdir,$*/verify)
48
	$(call svnMkdir,$*/test)
41 49
	$(MAKE) $*/svn_props

Also available in: Unified diff