comparison make/defs.make @ 14422:2b8e28fdf503

Merge
author kvn
date Tue, 05 Nov 2013 17:38:04 -0800
parents b83f7d608548 f509b8f4699b
children d8041d695d19
comparison
equal deleted inserted replaced
14421:3068270ba476 14422:2b8e28fdf503
75 define install-file 75 define install-file
76 @$(MKDIR) -p $(@D) 76 @$(MKDIR) -p $(@D)
77 @$(RM) $@ 77 @$(RM) $@
78 $(CP) $< $@ 78 $(CP) $< $@
79 endef 79 endef
80
81 # MacOS X strongly discourages 'cp -r' and provides 'cp -R' instead.
82 # May need to have a MacOS X specific definition of install-dir
83 # sometime in the future.
84 define install-dir
85 @$(MKDIR) -p $(@D)
86 @$(RM) -r $@
87 $(CP) -r $< $@
88 endef
89
80 define prep-target 90 define prep-target
81 @$(MKDIR) -p $(@D) 91 @$(MKDIR) -p $(@D)
82 @$(RM) $@ 92 @$(RM) $@
83 endef 93 endef
84 94