forked from BroadbandForum/cwmp-data-models
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tr-069-1-0-0.dep
26 lines (25 loc) · 899 Bytes
/
tr-069-1-0-0.dep
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# makefiles should define a callable DEPENDENCIES variable that expects two
# arguments:
#
# $(1) - the base name (with no file extension) of the supplied XML file
# $(2) - a space-separated list of relative paths for all the XML files on
# which the supplied XML file depends (starting with the supplied
# XML file)
#
# For example (direct dependencies):
#
# EXTS = .html -full.xml
#
# define DEPENDENCIES
# $(eval $(EXTS:%=$(1)%): $(2))
# endef
#
# or (copying the dependent files to the current directory):
#
# define DEPENDENCIES
# $(eval $(EXTS:%=$(1)%): $(notdir $(2)))
# $(foreach PATH, $(2),
# $(eval $(notdir $(PATH)): $(PATH); @install -Cv -m 0644 $$< $$@)
# )
# endef
$(call DEPENDENCIES,tr-069-1-0-0,../../install/cwmp/tr-069-1-0-0.xml ../../install/cwmp/tr-069-biblio.xml ../../install/cwmp/tr-106-1-0-0-types.xml ../../install/cwmp/tr-106-types.xml)