From c48d115f3bf68073302e7b052e114075a124e2f5 Mon Sep 17 00:00:00 2001 From: Folker Bernitt Date: Tue, 9 Sep 2014 14:30:01 +0200 Subject: Added Makefile to web-ui. --- web-ui/Makefile | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 web-ui/Makefile (limited to 'web-ui/Makefile') diff --git a/web-ui/Makefile b/web-ui/Makefile new file mode 100644 index 00000000..bb159131 --- /dev/null +++ b/web-ui/Makefile @@ -0,0 +1,37 @@ +# +# Copyright (c) 2014 ThoughtWorks, Inc. +# +# Pixelated is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Pixelated is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with Pixelated. If not, see . + +DESTDIR=target + +compile: + bundle install --path=~/pixelated-gems + npm install + node_modules/bower/bin/bower install + ./go package + +clean: + rm -Rf dist/ $(DESTDIR)/ + + +install: + install -d $(DESTDIR)/usr/share/pixelated-user-agent + cp -r dist/* $(DESTDIR)/usr/share/pixelated-user-agent + + +all: clean compile install + +.PHONY: clean compile install all + -- cgit v1.2.3