forked from NationalSecurityAgency/qgis-shapetools-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
20 lines (19 loc) · 1.12 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
PLUGINNAME = shapetools
PLUGINS = "$(HOME)"/AppData/Roaming/QGIS/QGIS3/profiles/default/python/plugins/$(PLUGINNAME)
PY_FILES = shapeTools.py __init__.py xyToLine.py settings.py geodesicDensify.py geodesicPointDecimate.py geodesicLineDecimate.py geodesicLayerMeasure.py geodesicMeasureTool.py azDigitizer.py lineDigitizer.py geodesicFlip.py provider.py createDonut.py createGear.py createLob.py createPointsAlongLob.py createPolygon.py createPie.py createRadialLines.py createArc.py createStar.py createRose.py createHypocycloid.py createEpicycloid.py createPolyfoil.py createHeart.py utils.py idlbreakline.py createEllipse.py geodesicTransformation.py stFunctions.py
EXTRAS = metadata.txt icon.png
deploy:
mkdir -p $(PLUGINS)
mkdir -p $(PLUGINS)/images
mkdir -p $(PLUGINS)/i18n
cp -vf i18n/shapeTools_zh.qm $(PLUGINS)/i18n
cp -vf $(PY_FILES) $(PLUGINS)
cp -vf $(EXTRAS) $(PLUGINS)
cp -vrf images $(PLUGINS)
cp -vrf ui $(PLUGINS)
cp -vrf doc $(PLUGINS)
cp -vrf ext-libs $(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