Index: remoting/host/installer/linux/Makefile |
diff --git a/remoting/host/installer/linux/Makefile b/remoting/host/installer/linux/Makefile |
new file mode 100644 |
index 0000000000000000000000000000000000000000..375e5752bc5c0c5e0b6ae53324d5efe0b10b9731 |
--- /dev/null |
+++ b/remoting/host/installer/linux/Makefile |
@@ -0,0 +1,29 @@ |
+# Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+# This Makefile is used by debhelper, which supplies the appropriate value of |
+# variables not defined here, such as DESTDIR. |
+ |
+SRC = ../../../.. |
+TOOLS = $(SRC)/remoting/tools |
+RELEASE = $(SRC)/out/Release |
+ |
+BIN = $(DESTDIR)/usr/bin |
+LIB = $(DESTDIR)/usr/lib/chrome-remote-desktop |
+SHARE = $(DESTDIR)/usr/share/chrome-remote-desktop |
+ |
+all: |
+ |
+# TODO(lambroslambrou): Decide what to do about bundling Xvfb-randr. |
+# For now, treat it as if it were a build artifact from the Chrome tree, and |
+# pull it from $(RELEASE). |
+install: |
+ install -d $(BIN) $(LIB) $(SHARE) |
+ install $(TOOLS)/me2me_virtual_host.py -m 0755 \ |
+ $(BIN)/me2me_virtual_host |
+ install $(TOOLS)/gaia_auth.py -m 0644 $(SHARE) |
+ install $(TOOLS)/keygen.py -m 0644 $(SHARE) |
+ install $(RELEASE)/Xvfb-randr -m 0755 $(BIN) |
+ install $(RELEASE)/remoting_host_keygen -m 0755 $(LIB) |
+ install $(RELEASE)/remoting_me2me_host -m 0755 $(LIB) |