1 Project=CoreOSMakefiles
3 Destination = $(DEVELOPER_DIR)/Makefiles/CoreOS
5 BSDDEFINE = BSDMAKESTYLE
7 INBASENAMES = Commands Variables
12 @$(MAKE) installsrc SRCROOT=$(DSTROOT)$(Destination)
13 rm -f $(DSTROOT)$(Destination)/Makefile
14 mv -f $(DSTROOT)$(Destination)/bin $(DSTROOT)$(DEVELOPER_DIR)/Makefiles
16 for i in $(INBASENAMES); do \
17 unifdef -U$(BSDDEFINE) -t $(DSTROOT)$(Destination)/$(STANDARD)/$$i$(INSUFFIX) > $(DSTROOT)$(Destination)/$(STANDARD)/$$i$(GNUSUFFIX); \
18 [ $$? -eq 1 ] || exit 1; \
19 $(RM) -f $(DSTROOT)$(Destination)/$(STANDARD)/$$i$(INSUFFIX) || exit 1; \
23 $(_v) echo No headers to install
26 install -d "$(SRCROOT)"
27 rsync -a --exclude=.svn --exclude=.git ./ "$(SRCROOT)"
30 $(_v) echo Nothing to clean