Project

General

Profile

« Previous | Next » 

Revision 14817

fix: *Makefile: changed line endings to \n so that `patch` can work with pasted input. use `svn di --extensions --ignore-eol-style` to verify no diff.

View differences:

forwarding.Makefile
1
##### Subdir forwarding
2

  
3
subdirs := $(filter-out ../ ./ .svn/ .archive/,$(call wildcard/,.*/ */))
4
allSubdirs := $(subdirs) .public/
5

  
6
define subdirTargets
7
$(subdir): _always
8
	+$$(subMake)
9

  
10
$(subdir)%: _always
11
	+$$(subMake)
12
.PRECIOUS: $(subdir)% # let subdir's Makefile decide whether to delete on error
13
endef
14
$(foreach subdir,$(allSubdirs),$(eval $(subdirTargets)))
15

  
16
Makefile: ;
17

  
18
%: $(addsuffix %,$(subdirs)) _always ;
1
##### Subdir forwarding
2

  
3
subdirs := $(filter-out ../ ./ .svn/ .archive/,$(call wildcard/,.*/ */))
4
allSubdirs := $(subdirs) .public/
5

  
6
define subdirTargets
7
$(subdir): _always
8
	+$$(subMake)
9

  
10
$(subdir)%: _always
11
	+$$(subMake)
12
.PRECIOUS: $(subdir)% # let subdir's Makefile decide whether to delete on error
13
endef
14
$(foreach subdir,$(allSubdirs),$(eval $(subdirTargets)))
15

  
16
Makefile: ;
17

  
18
%: $(addsuffix %,$(subdirs)) _always ;

Also available in: Unified diff