OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 # This Makefile is used by debhelper, which supplies the appropriate value of |
| 6 # variables not defined here, such as DESTDIR. |
| 7 |
| 8 SRC = ../../../.. |
| 9 TOOLS = $(SRC)/remoting/tools |
| 10 RELEASE = $(SRC)/out/Release |
| 11 |
| 12 BIN = $(DESTDIR)/usr/bin |
| 13 LIB = $(DESTDIR)/usr/lib/chrome-remote-desktop |
| 14 SHARE = $(DESTDIR)/usr/share/chrome-remote-desktop |
| 15 |
| 16 all: |
| 17 |
| 18 # TODO(lambroslambrou): Decide what to do about bundling Xvfb-randr. |
| 19 # For now, treat it as if it were a build artifact from the Chrome tree, and |
| 20 # pull it from $(RELEASE). |
| 21 install: |
| 22 install -d $(BIN) $(LIB) $(SHARE) |
| 23 install $(TOOLS)/me2me_virtual_host.py -m 0755 \ |
| 24 $(BIN)/me2me_virtual_host |
| 25 install $(TOOLS)/gaia_auth.py -m 0644 $(SHARE) |
| 26 install $(TOOLS)/keygen.py -m 0644 $(SHARE) |
| 27 install $(RELEASE)/Xvfb-randr -m 0755 $(BIN) |
| 28 install $(RELEASE)/remoting_host_keygen -m 0755 $(LIB) |
| 29 install $(RELEASE)/remoting_me2me_host -m 0755 $(LIB) |
OLD | NEW |