Skip to content

Commit

Permalink
Improve Makefile and some missing updates for QGIS3
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartoletti committed Jul 11, 2019
1 parent 5b53f09 commit 86993a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

PLUGINNAME = pg_history_viewer

PY_FILES = main.py __init__.py event_dialog.py config_dialog.py
PY_FILES = main.py __init__.py event_dialog.py config_dialog.py error_dialog.py connection_wrapper.py credentials_dialog.py

EXTRAS = metadata.txt icons/*.png icons/*.svg
EXTRAS = metadata.txt icons

UI_FILES = event_dialog.ui config.ui
UI_FILES = event_dialog.ui config.ui error_dialog.ui credentials_dialog.ui

VERSION=$(shell grep "version=" metadata.txt | cut -d'=' -f 2)

Expand All @@ -22,7 +22,7 @@ deploy: transcompile
mkdir -p $(PLUGINDIR)
cp -vf $(PY_FILES) $(PLUGINDIR)
cp -vf $(UI_FILES) $(PLUGINDIR)
cp --parents -vfRa $(EXTRAS) $(PLUGINDIR)
cp -p -vfRa $(EXTRAS) $(PLUGINDIR)

# 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
Expand All @@ -34,7 +34,7 @@ zip: deploy
# transup
# update .ts translation files
transup:
pylupdate4 Makefile
pylupdate5 Makefile

# transcompile
# compile translation files into .qm binary format
Expand Down
2 changes: 1 addition & 1 deletion metadata.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[general]
name=History viewer for a PostgreSQL base with audit triggers
description=This plugin allows to view audit logs and replay some past events
version=1.0
version=2.0
qgisMinimumVersion=3.4
about=History viewer for a PostgreSQL base with audit triggers

Expand Down

0 comments on commit 86993a9

Please sign in to comment.