-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathMakefile
More file actions
16 lines (14 loc) · 782 Bytes
/
Makefile
File metadata and controls
16 lines (14 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
PLUGINNAME = pdokservicesplugin
VERSION=$(shell cat pdokservicesplugin/metadata.txt | grep version= | sed -e 's,version=,,')
zip:
@echo
@echo "---------------------------"
@echo "Creating plugin zip bundle."
@echo "---------------------------"
# The zip target deploys the plugin and creates a zip file with the deployed
# content. You can then upload the zip file on http://plugins.qgis.org or install from within QGIS
#$(CURDIR)/repo$(CURDIR)/repo First remove an maybe already available older zip (with same version number)
mkdir -p $(CURDIR)/repo
rm -f $(CURDIR)/repo/$(PLUGINNAME).$(VERSION).zip
zip -9r $(CURDIR)/repo/$(PLUGINNAME).$(VERSION).zip $(PLUGINNAME) -x *.pyc -x *__pycache__*
@echo Successfully created zip: $(CURDIR)/repo/$(PLUGINNAME).$(VERSION).zip