blob: 3cbc55959b31805f93c18d05f00ca4bc9bcb6c53 [file] [log] [blame]
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
all: devserver
@echo "Preparing devserver modules."
mkdir -p "${DESTDIR}/usr/bin"
mkdir -p "${DESTDIR}/usr/lib/devserver"
mkdir -p "${DESTDIR}/usr/lib/devserver/dut-scripts"
install -m 0755 host/start_devserver "${DESTDIR}/usr/bin"
install -m 0755 "${DESTDIR}/usr/lib/devserver"
install -m 0644 \ \ \ \ \
nebraska/ \ \
# The content in /var/lib is only meaningful for installation in
# a chroot, not for Moblab.
mkdir -m0777 -p "${DESTDIR}/var/lib/devserver"
mkdir -m0777 -p "${DESTDIR}/var/lib/devserver/static"
mkdir -m0777 -p "${DESTDIR}/var/lib/devserver/static/cache"
install -m 0644 quick-provision/quick-provision \
.PHONY: all devserver install