From 256fa276804a92031848ba365823915253e82b31 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Sun, 17 Jun 2018 14:21:02 -0400 Subject: [PATCH] Create SDK before main dist --- Makefile | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/Makefile b/Makefile index 253f8cae..56c515b5 100644 --- a/Makefile +++ b/Makefile @@ -89,7 +89,21 @@ endif # This target is not intended for public use dist: all rm -rf dist - # Rack distribution + mkdir -p dist + + # Rack SDK + mkdir -p dist/Rack-SDK + cp LICENSE* dist/Rack-SDK/ + cp *.mk dist/Rack-SDK/ + cp -R include dist/Rack-SDK/ + mkdir -p dist/Rack-SDK/dep/ + cp -R dep/include dist/Rack-SDK/dep/ +ifdef ARCH_WIN + cp libRack.a dist/Rack-SDK/ +endif + cd dist && zip -5 -r Rack-SDK-$(VERSION).zip Rack-SDK + + # Rack $(MAKE) -C plugins/Fundamental dist ifdef ARCH_MAC @@ -145,18 +159,6 @@ ifdef ARCH_LIN cd dist && zip -5 -r Rack-$(VERSION)-$(ARCH).zip Rack endif - # Rack SDK distribution - mkdir -p dist/Rack-SDK - cp LICENSE* dist/Rack-SDK/ - cp *.mk dist/Rack-SDK/ - cp -R include dist/Rack-SDK/ - mkdir -p dist/Rack-SDK/dep/ - cp -R dep/include dist/Rack-SDK/dep/ -ifdef ARCH_WIN - cp libRack.a dist/Rack-SDK/ -endif - cd dist && zip -5 -r Rack-SDK-$(VERSION).zip Rack-SDK - # Obviously this will only work if you have the private keys to my server UPLOAD_URL := vortico@vcvrack.com:files/