OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # This Makefile is used by debhelper, which supplies the appropriate value of | 5 # This Makefile is used by debhelper, which supplies the appropriate value of |
6 # variables not defined here, such as DESTDIR. | 6 # variables not defined here, such as DESTDIR. |
7 | 7 |
8 SRC_DIR = ../../../.. | 8 SRC_DIR = ../../../.. |
9 BUILD_DIR = $(SRC_DIR)/out/Release | 9 BUILD_DIR = $(SRC_DIR)/out/Release |
10 | 10 |
11 INSTALL_DIR = $(DESTDIR)/opt/google/chrome-remote-desktop | 11 INSTALL_DIR = $(DESTDIR)/opt/google/chrome-remote-desktop |
12 CRON_DIR = $(DESTDIR)/etc/cron.daily | 12 CRON_DIR = $(DESTDIR)/etc/cron.daily |
13 NATIVE_MESSAGING_DIR = $(DESTDIR)/etc/opt/chrome/native-messaging-hosts | 13 NATIVE_MESSAGING_DIR = $(DESTDIR)/etc/opt/chrome/native-messaging-hosts |
14 | 14 |
15 ME2ME_PROGNAME = $(BUILD_DIR)/remoting_me2me_host | 15 ME2ME_PROGNAME = $(BUILD_DIR)/remoting_me2me_host |
16 ME2ME_DEBUGFILE = $(ME2ME_PROGNAME).debug | 16 ME2ME_DEBUGFILE = $(ME2ME_PROGNAME).debug |
17 START_PROGNAME = $(BUILD_DIR)/remoting_start_host | 17 START_PROGNAME = $(BUILD_DIR)/remoting_start_host |
18 START_DEBUGFILE = $(START_PROGNAME).debug | 18 START_DEBUGFILE = $(START_PROGNAME).debug |
19 ME2ME_NM_PROGNAME = $(BUILD_DIR)/remoting_native_messaging_host | 19 ME2ME_NM_PROGNAME = $(BUILD_DIR)/native_messaging_host |
20 ME2ME_NM_DEBUGFILE = $(ME2ME_NM_PROGNAME).debug | 20 ME2ME_NM_DEBUGFILE = $(ME2ME_NM_PROGNAME).debug |
21 REMOTE_ASSISTANCE_PROGNAME = $(BUILD_DIR)/remoting_it2me_native_messaging_host | 21 REMOTE_ASSISTANCE_PROGNAME = $(BUILD_DIR)/remote_assistance_host |
22 REMOTE_ASSISTANCE_DEBUGFILE = $(REMOTE_ASSISTANCE_PROGNAME).debug | 22 REMOTE_ASSISTANCE_DEBUGFILE = $(REMOTE_ASSISTANCE_PROGNAME).debug |
23 | 23 |
24 all: | 24 all: |
25 | 25 |
26 install: | 26 install: |
27 install -d "$(INSTALL_DIR)" | 27 install -d "$(INSTALL_DIR)" |
28 install -d "$(INSTALL_DIR)/remoting_locales" | 28 install -d "$(INSTALL_DIR)/remoting_locales" |
29 install -d "$(NATIVE_MESSAGING_DIR)" | 29 install -d "$(NATIVE_MESSAGING_DIR)" |
30 install -d "$(CRON_DIR)" | 30 install -d "$(CRON_DIR)" |
31 | 31 |
(...skipping 28 matching lines...) Expand all Loading... |
60 install -m 0644 \ | 60 install -m 0644 \ |
61 "$(BUILD_DIR)/icudtl.dat" "$(INSTALL_DIR)/icudtl.dat" | 61 "$(BUILD_DIR)/icudtl.dat" "$(INSTALL_DIR)/icudtl.dat" |
62 | 62 |
63 for locale in $$(ls $(BUILD_DIR)/remoting_locales); do \ | 63 for locale in $$(ls $(BUILD_DIR)/remoting_locales); do \ |
64 install "$(BUILD_DIR)/remoting_locales/$$locale" \ | 64 install "$(BUILD_DIR)/remoting_locales/$$locale" \ |
65 "$(INSTALL_DIR)/remoting_locales/$$locale"; \ | 65 "$(INSTALL_DIR)/remoting_locales/$$locale"; \ |
66 done | 66 done |
67 | 67 |
68 install $(BUILD_DIR)/remoting/installer/cron/chrome-remote-desktop \ | 68 install $(BUILD_DIR)/remoting/installer/cron/chrome-remote-desktop \ |
69 "$(CRON_DIR)/chrome-remote-desktop" | 69 "$(CRON_DIR)/chrome-remote-desktop" |
OLD | NEW |