Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(996)

Unified Diff: src/platform/metrics_daemon/debian/rules

Issue 1521015: build: Delete files from the previous build system. (Closed)
Patch Set: merge Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/platform/metrics_daemon/debian/dirs ('k') | src/platform/metrics_daemon/make_pkg.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/metrics_daemon/debian/rules
diff --git a/src/platform/metrics_daemon/debian/rules b/src/platform/metrics_daemon/debian/rules
deleted file mode 100755
index 02af358eee931410bc02ed2dc63a63e3a6d7b7cf..0000000000000000000000000000000000000000
--- a/src/platform/metrics_daemon/debian/rules
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/usr/bin/make -f
-# -*- makefile -*-
-# Copyright (c) 2009 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.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-
-DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
-CC := gcc
-CCC := g++
-else
-CC := $(DEB_HOST_GNU_TYPE)-gcc
-CCC := $(DEB_HOST_GNU_TYPE)-g++
-endif
-
-build: build-stamp
-build-stamp:
- dh_testdir
- $(MAKE) CC=$(CC) CCC=$(CCC)
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
- $(MAKE) clean
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
- mkdir -p $(CURDIR)/debian/chromeos-metrics-daemon
- $(MAKE) DESTDIR=$(CURDIR)/debian/chromeos-metrics-daemon install
-
-binary-indep:
-
-
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
« no previous file with comments | « src/platform/metrics_daemon/debian/dirs ('k') | src/platform/metrics_daemon/make_pkg.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698