2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 # define a dependency on a subtree
10 # 2: directory dependency
11 # 3: tempfile for file listings
14 DEP_FINDPARAMS
:= -type f
-not
-name
".*" -and
-not
-path
"*.svn*" -type f
-not
-name
".*" -and
-not
-path
"*.svn*" -and
-not
-path
"*:*" -and
-not
-path
"*!*" -and
-not
-path
"* *" -and
-not
-path
"*\\\#*"
16 $(foreach file
,$(shell find
$(1) $(DEP_FINDPARAMS
) $(4)),
22 ifneq ($$(shell find
$(1) $(DEP_FINDPARAMS
) $(4) 2>/dev
/null | md5s
),$(if
$(3),$(shell cat
$(3) || touch
$(3) 2>/dev
/null
)))
29 @
-find
$(1) $(DEP_FINDPARAMS
) $(4) 2>/dev
/null | md5s
> $$@
This page took 0.060801 seconds and 5 git commands to generate.