Skip to content

Commit b15a8d5

Browse files
committed
Add missing python files to Makefile
Many files were missing on the Makefile and this resulted in a plugin zip that was broken.
1 parent 2abc399 commit b15a8d5

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

Makefile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,15 @@ TRANSLATIONS =
3131

3232
# global
3333

34-
PLUGINNAME = clusterpy_light
34+
PLUGINNAME = clusterpy_qgis_plugin
3535

36-
PY_FILES = clusterpy_light.py clusterpy_lightdialog.py __init__.py
36+
PY_FILES = clusterpy_light.py clusterpy_lightdialog.py __init__.py clusterpy.py plugin_utils.py workers.py
3737

38-
EXTRAS = uifiles/icon.png metadata.txt
38+
EXTRAS = metadata.txt
3939

40+
UI_FILESD = uifiles
41+
42+
# UI_FILES are the .py files created from .ui that will be removed on a clean
4043
UI_FILES = uifiles/ui_maxp.py uifiles/ui_about.py
4144

4245
RESOURCE_FILES = resources_rc.py
@@ -60,7 +63,7 @@ compile: $(UI_FILES) $(RESOURCE_FILES)
6063
deploy: compile doc transcompile
6164
mkdir -p $(HOME)/$(QGISDIR)/python/plugins/$(PLUGINNAME)
6265
cp -vf $(PY_FILES) $(HOME)/$(QGISDIR)/python/plugins/$(PLUGINNAME)
63-
cp -vf $(UI_FILES) $(HOME)/$(QGISDIR)/python/plugins/$(PLUGINNAME)
66+
cp -vfr $(UI_FILESD) $(HOME)/$(QGISDIR)/python/plugins/$(PLUGINNAME)
6467
cp -vf $(RESOURCE_FILES) $(HOME)/$(QGISDIR)/python/plugins/$(PLUGINNAME)
6568
cp -vf $(EXTRAS) $(HOME)/$(QGISDIR)/python/plugins/$(PLUGINNAME)
6669
cp -vfr i18n $(HOME)/$(QGISDIR)/python/plugins/$(PLUGINNAME)

0 commit comments

Comments
 (0)