blob: f1bec2da1b76e59b1f988c00e8beed218de52ccf [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"
install -m 0755 host/start_devserver "${DESTDIR}/usr/bin"
install -m 0755 "${DESTDIR}/usr/lib/devserver"
install -m 0644 \ \ \ \ \ \ \ \ \
install -m 0755 stateful_update "${DESTDIR}/usr/bin"
# Data directory for the devserver.
mkdir -m0777 -p "${DESTDIR}/var/lib/devserver"
mkdir -m0777 -p "${DESTDIR}/var/lib/devserver/static"
mkdir -m0777 -p "${DESTDIR}/var/lib/devserver/static/cache"
.PHONY: all devserver install