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

Side by Side Diff: debian.chrome/rules.d/3-binary-indep.mk

Issue 646032: Rename config to match naming convention. (Closed)
Patch Set: Send mail Created 10 years, 10 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 unified diff | Download patch
« no previous file with comments | « debian.chrome/rules.d/2-binary-arch.mk ('k') | debian.chrome/rules.d/4-checks.mk » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 build-indep:
2
3 docpkg = $(doc_pkg_name)
4 docdir = $(CURDIR)/debian/$(docpkg)/usr/share/doc/$(docpkg)
5 install-doc:
6 dh_testdir
7 dh_testroot
8 dh_clean -k -p$(docpkg)
9
10 install -d $(docdir)
11 ifeq ($(do_doc_package_content),true)
12 # First the html docs. We skip these for autobuilds
13 if [ -z "$(AUTOBUILD)" ]; then \
14 install -d $(docdir)/$(doc_pkg_name)-tmp; \
15 $(kmake) O=$(docdir)/$(doc_pkg_name)-tmp htmldocs; \
16 mv $(docdir)/$(doc_pkg_name)-tmp/Documentation/DocBook \
17 $(docdir)/html; \
18 rm -rf $(docdir)/$(doc_pkg_name)-tmp; \
19 fi
20 endif
21 # Copy the rest
22 cp -a Documentation/* $(docdir)
23 rm -rf $(docdir)/DocBook
24 find $(docdir) -name .gitignore | xargs rm -f
25
26 indep_hdrpkg = $(hdrs_pkg_name)
27 indep_hdrdir = $(CURDIR)/debian/$(indep_hdrpkg)/usr/src/$(indep_hdrpkg)
28 install-headers:
29 dh_testdir
30 dh_testroot
31 dh_clean -k -p$(indep_hdrpkg)
32
33 install -d $(indep_hdrdir)
34 find . -path './debian' -prune -o -path './$(DEBIAN)' -prune \
35 -o -path './include/*' -prune \
36 -o -path './scripts/*' -prune -o -type f \
37 \( -name 'Makefile*' -o -name 'Kconfig*' -o -name 'Kbuild*' -o \
38 -name '*.sh' -o -name '*.pl' -o -name '*.lds' \) \
39 -print | cpio -pd --preserve-modification-time $(indep_hdrdir)
40 cp -a drivers/media/dvb/dvb-core/*.h $(indep_hdrdir)/drivers/media/dvb/d vb-core
41 cp -a drivers/media/video/*.h $(indep_hdrdir)/drivers/media/video
42 cp -a drivers/media/dvb/frontends/*.h $(indep_hdrdir)/drivers/media/dvb/ frontends
43 cp -a scripts include $(indep_hdrdir)
44 (find arch -name include -type d -print | \
45 xargs -n1 -i: find : -type f) | \
46 cpio -pd --preserve-modification-time $(indep_hdrdir)
47
48 srcpkg = $(src_pkg_name)-source-$(release)
49 srcdir = $(CURDIR)/debian/$(srcpkg)/usr/src/$(srcpkg)
50 install-source:
51 dh_testdir
52 dh_testroot
53 dh_clean -k -p$(srcpkg)
54
55 install -d $(srcdir)
56 ifeq ($(do_linux_source_content),true)
57 find . -path './debian' -prune -o -path './$(DEBIAN)' -prune -o \
58 -path './.*' -prune -o -print | \
59 cpio -pd --preserve-modification-time $(srcdir)
60 (cd $(srcdir)/..; tar cf - $(srcpkg)) | bzip2 -9c > \
61 $(srcdir).tar.bz2
62 rm -rf $(srcdir)
63 endif
64
65 install-indep: install-headers install-doc install-source
66
67 # This is just to make it easy to call manually. Normally done in
68 # binary-indep target during builds.
69 binary-headers: install-headers
70 dh_testdir
71 dh_testroot
72 dh_installchangelogs -p$(indep_hdrpkg)
73 dh_installdocs -p$(indep_hdrpkg)
74 dh_compress -p$(indep_hdrpkg)
75 dh_fixperms -p$(indep_hdrpkg)
76 dh_installdeb -p$(indep_hdrpkg)
77 dh_gencontrol -p$(indep_hdrpkg)
78 dh_md5sums -p$(indep_hdrpkg)
79 dh_builddeb -p$(indep_hdrpkg)
80
81 binary-indep: install-indep
82 dh_testdir
83 dh_testroot
84
85 dh_installchangelogs -i
86 dh_installdocs -i
87 dh_compress -i
88 dh_fixperms -i
89 dh_installdeb -i
90 dh_gencontrol -i
91 dh_md5sums -i
92 dh_builddeb -i
OLDNEW
« no previous file with comments | « debian.chrome/rules.d/2-binary-arch.mk ('k') | debian.chrome/rules.d/4-checks.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698