|
@@ -26,7 +26,7 @@ ifeq ($(ARCH), win) |
|
|
endif |
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
all: $(RESOURCES) $(TARGET) |
|
|
|
|
|
|
|
|
all: $(TARGET) |
|
|
|
|
|
|
|
|
include $(RACK_DIR)/compile.mk |
|
|
include $(RACK_DIR)/compile.mk |
|
|
|
|
|
|
|
@@ -38,11 +38,12 @@ dist: all |
|
|
mkdir -p dist/$(SLUG) |
|
|
mkdir -p dist/$(SLUG) |
|
|
# Strip and copy plugin binary |
|
|
# Strip and copy plugin binary |
|
|
cp $(TARGET) dist/$(SLUG)/ |
|
|
cp $(TARGET) dist/$(SLUG)/ |
|
|
strip -s dist/$(SLUG)/$(TARGET) |
|
|
|
|
|
|
|
|
strip dist/$(SLUG)/$(TARGET) |
|
|
# Copy distributables |
|
|
# Copy distributables |
|
|
cp -R $(DISTRIBUTABLES) dist/$(SLUG)/ |
|
|
cp -R $(DISTRIBUTABLES) dist/$(SLUG)/ |
|
|
# Create ZIP package |
|
|
# Create ZIP package |
|
|
cd dist && zip -5 -r $(SLUG)-$(VERSION)-$(ARCH).zip $(SLUG) |
|
|
cd dist && zip -5 -r $(SLUG)-$(VERSION)-$(ARCH).zip $(SLUG) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY: clean dist |
|
|
.PHONY: clean dist |
|
|
.DEFAULT_GOAL := all |
|
|
.DEFAULT_GOAL := all |