OLD | NEW |
1 #!/usr/bin/make -f | 1 #!/usr/bin/make -f |
2 # -*- makefile -*- | 2 # -*- makefile -*- |
3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. | 3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. |
4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 | 6 |
7 # Uncomment this to turn on verbose mode. | 7 # Uncomment this to turn on verbose mode. |
8 #export DH_VERBOSE=1 | 8 #export DH_VERBOSE=1 |
9 | 9 |
10 CFLAGS = -Wall -g | 10 CFLAGS = -Wall -g |
(...skipping 15 matching lines...) Expand all Loading... |
26 dh_testroot | 26 dh_testroot |
27 rm -f build-stamp | 27 rm -f build-stamp |
28 $(MAKE) clean | 28 $(MAKE) clean |
29 dh_clean | 29 dh_clean |
30 | 30 |
31 install: build | 31 install: build |
32 dh_testdir | 32 dh_testdir |
33 dh_testroot | 33 dh_testroot |
34 dh_clean -k | 34 dh_clean -k |
35 dh_installdirs | 35 dh_installdirs |
| 36 mkdir -p $(CURDIR)/debian/chromeos-metrics-daemon |
36 $(MAKE) DESTDIR=$(CURDIR)/debian/chromeos-metrics-daemon install | 37 $(MAKE) DESTDIR=$(CURDIR)/debian/chromeos-metrics-daemon install |
37 | 38 |
38 binary-indep: | 39 binary-indep: |
39 | 40 |
40 | 41 |
41 # Build architecture-dependent files here. | 42 # Build architecture-dependent files here. |
42 binary-arch: build install | 43 binary-arch: build install |
43 dh_testdir | 44 dh_testdir |
44 dh_testroot | 45 dh_testroot |
45 dh_link | 46 dh_link |
46 dh_strip | 47 dh_strip |
47 dh_compress | 48 dh_compress |
48 dh_fixperms | 49 dh_fixperms |
49 dh_installdeb | 50 dh_installdeb |
50 dh_shlibdeps | 51 dh_shlibdeps |
51 dh_gencontrol | 52 dh_gencontrol |
52 dh_md5sums | 53 dh_md5sums |
53 dh_builddeb | 54 dh_builddeb |
54 | 55 |
55 binary: binary-arch | 56 binary: binary-arch |
56 .PHONY: build clean binary-indep binary-arch binary install | 57 .PHONY: build clean binary-indep binary-arch binary install |
OLD | NEW |