forked from NationalSecurityAgency/qgis-latlontools-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
18 lines (17 loc) · 923 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
PLUGINNAME = latlontools
PLUGINS = "$(HOME)"/AppData/Roaming/QGIS/QGIS3/profiles/default/python/plugins/$(PLUGINNAME)
PY_FILES = latLonTools.py __init__.py copyLatLonTool.py captureCoordinate.py zoomToLatLon.py settings.py multizoom.py mgrs.py showOnMapTool.py mapProviders.py tomgrs.py mgrstogeom.py digitizer.py util.py geom2field.py field2geom.py olc.py provider.py pluscodes.py utm.py coordinateConverter.py geohash.py maidenhead.py latLonFunctions.py captureExtent.py ups.py georef.py ecef.py
EXTRAS = metadata.txt icon.png
deploy:
mkdir -p $(PLUGINS)
mkdir -p $(PLUGINS)/i18n
cp -vf i18n/latlonTools_fr.qm $(PLUGINS)/i18n
cp -vf $(PY_FILES) $(PLUGINS)
cp -vf $(EXTRAS) $(PLUGINS)
cp -vfr images $(PLUGINS)
cp -vfr ui $(PLUGINS)
cp -vfr doc $(PLUGINS)
cp -vf helphead.html index.html
python -m markdown -x extra readme.md >> index.html
echo '</body>' >> index.html
cp -vf index.html $(PLUGINS)/index.html