OLD | NEW |
1 #!/usr/bin/make -f | 1 #!/usr/bin/make -f |
2 # -*- makefile -*- | 2 # -*- makefile -*- |
3 | 3 |
4 # Uncomment this to turn on verbose mode. | 4 # Uncomment this to turn on verbose mode. |
5 #export DH_VERBOSE=1 | 5 #export DH_VERBOSE=1 |
6 | 6 |
7 CFLAGS = -Wall -g | 7 CFLAGS = -Wall -g |
8 | 8 |
9 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) | 9 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) |
10 CFLAGS += -O0 | 10 CFLAGS += -O0 |
(...skipping 13 matching lines...) Expand all Loading... |
24 rm -f build-stamp | 24 rm -f build-stamp |
25 $(MAKE) clean | 25 $(MAKE) clean |
26 dh_clean | 26 dh_clean |
27 | 27 |
28 install: build | 28 install: build |
29 dh_testdir | 29 dh_testdir |
30 dh_testroot | 30 dh_testroot |
31 dh_clean -k | 31 dh_clean -k |
32 dh_installdirs | 32 dh_installdirs |
33 $(MAKE) DESTDIR=$(CURDIR)/debian/chromeos-metrics-collection install | 33 $(MAKE) DESTDIR=$(CURDIR)/debian/chromeos-metrics-collection install |
| 34 chmod 0555 $(CURDIR)/debian/chromeos-metrics-collection/usr/sbin/omaha_t
racker.sh |
34 | 35 |
35 binary-indep: | 36 binary-indep: |
36 | 37 |
37 | 38 |
38 # Build architecture-dependent files here. | 39 # Build architecture-dependent files here. |
39 binary-arch: build install | 40 binary-arch: build install |
40 dh_testdir | 41 dh_testdir |
41 dh_testroot | 42 dh_testroot |
42 dh_link | 43 dh_link |
43 dh_strip | 44 dh_strip |
44 dh_compress | 45 dh_compress |
45 dh_fixperms | 46 dh_fixperms |
46 dh_installdeb | 47 dh_installdeb |
47 dh_shlibdeps | 48 dh_shlibdeps |
48 dh_gencontrol | 49 dh_gencontrol |
49 dh_md5sums | 50 dh_md5sums |
50 dh_builddeb | 51 dh_builddeb |
51 | 52 |
52 binary: binary-arch | 53 binary: binary-arch |
53 .PHONY: build clean binary-indep binary-arch binary install | 54 .PHONY: build clean binary-indep binary-arch binary install |
OLD | NEW |