]> git.saurik.com Git - apple/coreosmakefiles.git/blobdiff - Makefile
CoreOSMakefiles-77.tar.gz
[apple/coreosmakefiles.git] / Makefile
index 35ecb3bd293520783d2c0ea395647e13f7c96186..43d8377dda65999005606e969fdac30d59e85be5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,6 @@
 Project=CoreOSMakefiles
 
-Destination = $(MAKEFILEPATH)/CoreOS
-BSDMAKEDIR  = /usr/share/mk/CoreOS
+Destination = $(DEVELOPER_DIR)/Makefiles/CoreOS
 BSDSUFFIX   = .mk
 BSDDEFINE   = BSDMAKESTYLE
 GNUSUFFIX   = .make
@@ -12,14 +11,10 @@ STANDARD    = Standard
 install:
        @$(MAKE) installsrc SRCROOT=$(DSTROOT)$(Destination)
        rm -f $(DSTROOT)$(Destination)/Makefile
-       mv -f $(DSTROOT)$(Destination)/bin $(DSTROOT)$(MAKEFILEPATH)
-       install -d $(DSTROOT)$(BSDMAKEDIR)/$(STANDARD)
        @set -x && \
            for i in $(INBASENAMES); do \
                unifdef -U$(BSDDEFINE) -t $(DSTROOT)$(Destination)/$(STANDARD)/$$i$(INSUFFIX) > $(DSTROOT)$(Destination)/$(STANDARD)/$$i$(GNUSUFFIX); \
                [ $$? -eq 1 ] || exit 1; \
-               unifdef -D$(BSDDEFINE) -t $(DSTROOT)$(Destination)/$(STANDARD)/$$i$(INSUFFIX) > $(DSTROOT)$(BSDMAKEDIR)/$(STANDARD)/$$i$(BSDSUFFIX); \
-               [ $$? -eq 1 ] || exit 1; \
                $(RM) -f $(DSTROOT)$(Destination)/$(STANDARD)/$$i$(INSUFFIX) || exit 1; \
            done
 
@@ -28,7 +23,7 @@ installhdrs:
 
 installsrc:
        install -d "$(SRCROOT)"
-       rsync -a --exclude=.svn ./ "$(SRCROOT)"
+       rsync -a --exclude=.svn --exclude=.git ./ "$(SRCROOT)"
 
 clean:
        $(_v) echo Nothing to clean