|
|
@@ -21,6 +21,8 @@ ifeq ($(ARCH), win) |
|
|
|
TARGET = plugin.dll |
|
|
|
endif |
|
|
|
|
|
|
|
DISTRIBUTABLES += $(TARGET) |
|
|
|
|
|
|
|
|
|
|
|
all: $(TARGET) |
|
|
|
|
|
|
@@ -28,3 +30,11 @@ include ../../compile.mk |
|
|
|
|
|
|
|
clean: |
|
|
|
rm -rfv build $(TARGET) dist |
|
|
|
|
|
|
|
dist: all |
|
|
|
rm -rf dist |
|
|
|
mkdir -p dist/$(SLUG) |
|
|
|
cp -R $(DISTRIBUTABLES) dist/$(SLUG)/ |
|
|
|
cd dist && zip -5 -r $(SLUG)-$(VERSION)-$(ARCH).zip $(SLUG) |
|
|
|
|
|
|
|
.PHONY: clean dist |