summaryrefslogtreecommitdiff
path: root/web-ui/Makefile
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-03-24 18:57:30 -0400
committerKali Kaneko <kali@futeisha.org>2017-07-24 14:34:04 -0400
commit414346683eb57fa13b6b04308ccf033024021f39 (patch)
tree0ef9920f18976b38e05353074b298e7edbe4fa67 /web-ui/Makefile
parent784f6c54544f397b8e9e8ef5abf6414280ad124e (diff)
[feature] package web-ui as a distributable python module
in this way, we can generate wheels and pip-install it from pypi or other sources. we intend to use this for easing the shipping of the Pixelated UI in our packages/bundles. a separate debian package can also be easily generated form this artifact.
Diffstat (limited to 'web-ui/Makefile')
-rw-r--r--web-ui/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/web-ui/Makefile b/web-ui/Makefile
index 0bc9d5d4..3ee83eb4 100644
--- a/web-ui/Makefile
+++ b/web-ui/Makefile
@@ -31,6 +31,15 @@ install:
cp -r dist/* $(DESTDIR)/usr/share/pixelated-user-agent
+pydist-clean: clean
+ rm -rf build/
+
+
+pydist-wheel:
+ cp -r dist/* pixelated_www/
+ python setup.py bdist_wheel
+
+
all: clean compile install
.PHONY: clean compile install all