| 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 ifndef BUILD_DIR | 9 ifndef BUILD_DIR |
| 10 BUILD_DIR = $(SRC_DIR)/out/Release | 10 BUILD_DIR = $(SRC_DIR)/out/Release |
| 11 endif | 11 endif |
| 12 | 12 |
| 13 CRON_DIR = $(DESTDIR)/etc/cron.daily | 13 CRON_DIR = $(DESTDIR)/etc/cron.daily |
| 14 DOC_DIR = $(DESTDIR)/usr/share/doc/chrome-remote-desktop | 14 DOC_DIR = $(DESTDIR)/usr/share/doc/chrome-remote-desktop |
| 15 INSTALL_DIR = $(DESTDIR)/opt/google/chrome-remote-desktop | 15 INSTALL_DIR = $(DESTDIR)/opt/google/chrome-remote-desktop |
| 16 NATIVE_MESSAGING_DIR = $(DESTDIR)/etc/opt/chrome/native-messaging-hosts | 16 NATIVE_MESSAGING_DIR = $(DESTDIR)/etc/opt/chrome/native-messaging-hosts |
| 17 | 17 |
| 18 ME2ME_PROGNAME = $(BUILD_DIR)/remoting_me2me_host | 18 ME2ME_PROGNAME = $(BUILD_DIR)/remoting_me2me_host |
| 19 ME2ME_DEBUGFILE = $(ME2ME_PROGNAME).debug | 19 ME2ME_DEBUGFILE = $(ME2ME_PROGNAME).debug |
| 20 START_PROGNAME = $(BUILD_DIR)/remoting_start_host | 20 START_PROGNAME = $(BUILD_DIR)/remoting_start_host |
| 21 START_DEBUGFILE = $(START_PROGNAME).debug | 21 START_DEBUGFILE = $(START_PROGNAME).debug |
| 22 SESSION_WRAPPER_PROGNAME = $(BUILD_DIR)/remoting_user_session | |
| 23 SESSION_WRAPPER_DEBUGFILE = $(SESSION_WRAPPER_PROGNAME).debug | |
| 24 ME2ME_NM_PROGNAME = $(BUILD_DIR)/remoting_native_messaging_host | 22 ME2ME_NM_PROGNAME = $(BUILD_DIR)/remoting_native_messaging_host |
| 25 ME2ME_NM_DEBUGFILE = $(ME2ME_NM_PROGNAME).debug | 23 ME2ME_NM_DEBUGFILE = $(ME2ME_NM_PROGNAME).debug |
| 26 REMOTE_ASSISTANCE_PROGNAME = $(BUILD_DIR)/remote_assistance_host | 24 REMOTE_ASSISTANCE_PROGNAME = $(BUILD_DIR)/remote_assistance_host |
| 27 REMOTE_ASSISTANCE_DEBUGFILE = $(REMOTE_ASSISTANCE_PROGNAME).debug | 25 REMOTE_ASSISTANCE_DEBUGFILE = $(REMOTE_ASSISTANCE_PROGNAME).debug |
| 28 | 26 |
| 29 all: | 27 all: |
| 30 | 28 |
| 31 install: | 29 install: |
| 32 install -d "$(CRON_DIR)" | 30 install -d "$(CRON_DIR)" |
| 33 install -d "$(DOC_DIR)" | 31 install -d "$(DOC_DIR)" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 48 "$(BUILD_DIR)/remoting/com.google.chrome.remote_assistance.json" \ | 46 "$(BUILD_DIR)/remoting/com.google.chrome.remote_assistance.json" \ |
| 49 "$(NATIVE_MESSAGING_DIR)/com.google.chrome.remote_assistance.json" | 47 "$(NATIVE_MESSAGING_DIR)/com.google.chrome.remote_assistance.json" |
| 50 | 48 |
| 51 eu-strip -f "$(ME2ME_DEBUGFILE)" "$(ME2ME_PROGNAME)" | 49 eu-strip -f "$(ME2ME_DEBUGFILE)" "$(ME2ME_PROGNAME)" |
| 52 install "$(ME2ME_PROGNAME)" \ | 50 install "$(ME2ME_PROGNAME)" \ |
| 53 "$(INSTALL_DIR)/chrome-remote-desktop-host" | 51 "$(INSTALL_DIR)/chrome-remote-desktop-host" |
| 54 | 52 |
| 55 eu-strip -f "$(START_DEBUGFILE)" "$(START_PROGNAME)" | 53 eu-strip -f "$(START_DEBUGFILE)" "$(START_PROGNAME)" |
| 56 install "$(START_PROGNAME)" "$(INSTALL_DIR)/start-host" | 54 install "$(START_PROGNAME)" "$(INSTALL_DIR)/start-host" |
| 57 | 55 |
| 58 eu-strip -f "$(SESSION_WRAPPER_DEBUGFILE)" "$(SESSION_WRAPPER_PROGNAME)" | |
| 59 install "$(SESSION_WRAPPER_PROGNAME)" "$(INSTALL_DIR)/user-session" | |
| 60 | |
| 61 eu-strip -f "$(ME2ME_NM_DEBUGFILE)" "$(ME2ME_NM_PROGNAME)" | 56 eu-strip -f "$(ME2ME_NM_DEBUGFILE)" "$(ME2ME_NM_PROGNAME)" |
| 62 install "$(ME2ME_NM_PROGNAME)" "$(INSTALL_DIR)/native-messaging-host" | 57 install "$(ME2ME_NM_PROGNAME)" "$(INSTALL_DIR)/native-messaging-host" |
| 63 | 58 |
| 64 eu-strip -f "$(REMOTE_ASSISTANCE_DEBUGFILE)" \ | 59 eu-strip -f "$(REMOTE_ASSISTANCE_DEBUGFILE)" \ |
| 65 "$(REMOTE_ASSISTANCE_PROGNAME)" | 60 "$(REMOTE_ASSISTANCE_PROGNAME)" |
| 66 install "$(REMOTE_ASSISTANCE_PROGNAME)" \ | 61 install "$(REMOTE_ASSISTANCE_PROGNAME)" \ |
| 67 "$(INSTALL_DIR)/remote-assistance-host" | 62 "$(INSTALL_DIR)/remote-assistance-host" |
| 68 | 63 |
| 69 install -m 0644 \ | 64 install -m 0644 \ |
| 70 "$(BUILD_DIR)/icudtl.dat" "$(INSTALL_DIR)/icudtl.dat" | 65 "$(BUILD_DIR)/icudtl.dat" "$(INSTALL_DIR)/icudtl.dat" |
| 71 | 66 |
| 72 for locale in $$(ls $(BUILD_DIR)/remoting_locales); do \ | 67 for locale in $$(ls $(BUILD_DIR)/remoting_locales); do \ |
| 73 install "$(BUILD_DIR)/remoting_locales/$$locale" \ | 68 install "$(BUILD_DIR)/remoting_locales/$$locale" \ |
| 74 "$(INSTALL_DIR)/remoting_locales/$$locale"; \ | 69 "$(INSTALL_DIR)/remoting_locales/$$locale"; \ |
| 75 done | 70 done |
| 76 | 71 |
| 77 install $(BUILD_DIR)/remoting/installer/cron/chrome-remote-desktop \ | 72 install $(BUILD_DIR)/remoting/installer/cron/chrome-remote-desktop \ |
| 78 "$(CRON_DIR)/chrome-remote-desktop" | 73 "$(CRON_DIR)/chrome-remote-desktop" |
| 79 | 74 |
| 80 install -m 0644 \ | 75 install -m 0644 \ |
| 81 "$(BUILD_DIR)/gen/remoting/CREDITS.txt" "$(DOC_DIR)/CREDITS.txt" | 76 "$(BUILD_DIR)/gen/remoting/CREDITS.txt" "$(DOC_DIR)/CREDITS.txt" |
| OLD | NEW |