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

Side by Side Diff: debian.chrome/rules.d/1-maintainer.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/0-common-vars.mk ('k') | debian.chrome/rules.d/2-binary-arch.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 # The following targets are for the maintainer only! do not run if you don't
2 # know what they do.
3
4 .PHONY: printenv updateconfigs printchanges insertchanges startnewrelease diffup stream help updateportsconfigs editportsconfigs
5
6 help:
7 @echo "These are the targets in addition to the normal $(DEBIAN) ones:"
8 @echo
9 @echo " printenv : Print some variables used in the build"
10 @echo
11 @echo " updateconfigs : Update core arch configs"
12 @echo
13 @echo " editconfigs : Update core arch configs interractively"
14 @echo " genconfigs : Generate core arch configs in CONFIGS/*"
15 @echo
16 @echo " updateportsconfigs : Update ports arch configs"
17 @echo
18 @echo " editportsconfigs : Update ports arch configs interactivly"
19 @echo " genportconfigs : Generate ports arch configs in CONFIGS/* "
20 @echo
21 @echo " printchanges : Print the current changelog entries (from git )"
22 @echo
23 @echo " insertchanges : Insert current changelog entries (from git)"
24 @echo
25 @echo " startnewrelease : Start a new changelog set"
26 @echo
27 @echo " diffupstream : Diff stock kernel code against upstream (git) "
28 @echo
29 @echo " help : If you are kernel hacking, you need the profe ssional"
30 @echo " version of this"
31 @echo
32 @echo "Environment variables:"
33 @echo
34 @echo " NOKERNLOG : Do not add upstream kernel commits to changel og"
35 @echo " CONCURRENCY_LEVEL=X"
36 @echo " : Use -jX for kernel compile"
37 @echo " PRINTSHAS : Include SHAs for commits in changelog"
38
39 updateconfigs:
40 dh_testdir;
41 $(SHELL) $(DEBIAN)/scripts/misc/kernelconfig oldconfig
42 rm -rf build
43
44 editconfigs:
45 dh_testdir
46 $(SHELL) $(DEBIAN)/scripts/misc/kernelconfig editconfig
47 rm -rf build
48
49 genconfigs:
50 dh_testdir
51 $(SHELL) $(DEBIAN)/scripts/misc/kernelconfig genconfig
52 rm -rf build
53
54 updateportsconfigs:
55 dh_testdir;
56 $(SHELL) $(DEBIAN)/scripts/misc/kernelconfig oldconfig ports
57 rm -rf build
58
59 editportsconfigs:
60 dh_testdir
61 $(SHELL) $(DEBIAN)/scripts/misc/kernelconfig editconfig ports
62 rm -rf build
63
64 genportsconfigs:
65 dh_testdir
66 $(SHELL) $(DEBIAN)/scripts/misc/kernelconfig genconfig ports
67 rm -rf build
68
69 printenv:
70 dh_testdir
71 @echo "src package name = $(src_pkg_name)"
72 @echo "release = $(release)"
73 @echo "revisions = $(revisions)"
74 @echo "revision = $(revision)"
75 @echo "uploadnum = $(uploadnum)"
76 @echo "prev_revisions = $(prev_revisions)"
77 @echo "prev_revision = $(prev_revision)"
78 @echo "abinum = $(abinum)"
79 @echo "gitver = $(gitver)"
80 @echo "flavours = $(flavours)"
81 @echo "skipabi = $(skipabi)"
82 @echo "skipmodule = $(skipmodule)"
83 @echo "skipdbg = $(skipdbg)"
84 @echo "ubuntu_log_opts = $(ubuntu_log_opts)"
85 ifneq ($(SUBLEVEL),)
86 @echo "SUBLEVEL = $(SUBLEVEL)"
87 endif
88 @echo "CONCURRENCY_LEVEL = $(CONCURRENCY_LEVEL)"
89 @echo "bin package name = $(bin_pkg_name)"
90 @echo "hdr package name = $(hdrs_pkg_name)"
91 @echo "doc package name = $(doc_pkg_name)"
92
93 printchanges:
94 @baseCommit=$$(git log --pretty=format:'%H %s' | \
95 awk '/UBUNTU: '".*Ubuntu-$(release)-$(prev_revision)"'$$/ { prin t $$1; exit }'); \
96 git log "$$baseCommit"..HEAD | \
97 perl -w -f $(DEBIAN)/scripts/misc/git-ubuntu-log $(ubuntu_log_op ts)
98
99 insertchanges:
100 @perl -w -f $(DEBIAN)/scripts/misc/insert-changes.pl $(DEBIAN)
101
102 diffupstream:
103 @git diff-tree -p refs/remotes/linux-2.6/master..HEAD $(shell ls | grep -vE '^(ubuntu|$(DEBIAN)|\.git.*)')
104
105 startnewrelease:
106 dh_testdir
107 @nextminor=$(shell expr `echo $(revision) | awk -F. '{print $$2}'` + 1); \
108 now="$(shell date -R)"; \
109 echo "Creating new changelog set for $(abi_release).$$nextminor..."; \
110 echo -e "$(src_pkg_name) ($(abi_release).$$nextminor) UNRELEASED; urgenc y=low\n" > $(DEBIAN)/changelog.new; \
111 echo " CHANGELOG: Do not edit directly. Autogenerated at release." >> \
112 $(DEBIAN)/changelog.new; \
113 echo " CHANGELOG: Use the printchanges target to see the curent changes ." \
114 >> $(DEBIAN)/changelog.new; \
115 echo " CHANGELOG: Use the insertchanges target to create the final log. " \
116 >> $(DEBIAN)/changelog.new; \
117 echo -e "\n -- $$DEBFULLNAME <$$DEBEMAIL> $$now\n" >> \
118 $(DEBIAN)/changelog.new ; \
119 cat $(DEBIAN)/changelog >> $(DEBIAN)/changelog.new; \
120 mv $(DEBIAN)/changelog.new $(DEBIAN)/changelog
121
OLDNEW
« no previous file with comments | « debian.chrome/rules.d/0-common-vars.mk ('k') | debian.chrome/rules.d/2-binary-arch.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698