Skip to content

Commit 7150754

Browse files
committed
Move to autogenerated ChangeLog.
Signed-off-by: Robin H. Johnson <[email protected]>
1 parent 3fa1bf6 commit 7150754

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/genkernel.8
22
/genkernel-*.tar.bz2
3+
/ChangeLog

ChangeLog ChangeLog.old

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
# After 2012/11/01, the changelog is now auto-generated.
2+
# This file is for historical purposes only.
13
# ChangeLog for genkernel
24
# Copyright:
35
# - 2003-2008 Gentoo Foundation
46
# - 2008-2012 Various authors (see AUTHORS)
57
# Distributed under the GPL v2
6-
# $Id$
8+
# $Id: 7902101f65eb47fdc5ed4b116ee234aa23686e1b $
79

810
19 Oct 2012; Robin H. Johnson <[email protected]> gen_bootloader.sh:
911
Missing then keyword.

HACKING

+2-3
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@ Testing things:
1717

1818
Rolling a release:
1919
- Bump the version in the main genkernel file.
20-
- echangelog "Bump version to ${PV}"
21-
- git commit -a -m "Bump version to ${PV}"
20+
- git commit -s -a -m "Bump version to ${PV}"
2221
- make dist
23-
- git tag -a -m "Tag release v${PV}" v${PV}
22+
- git tag -s -a -m "Tag release v${PV}" v${PV}
2423
- git push ${REMOTE} master --tags
2524
- upload genkernel-${PV}.tar.bz2 to the hosting:
2625
scp genkernel-${PV}.tar.bz2 ${USER}@dev.gentoo.org:/space/distfiles-local/

Makefile

+6-3
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,23 @@ PACKAGE_VERSION = `/bin/fgrep GK_V= genkernel | sed "s/.*GK_V='\([^']\+\)'/\1/"`
22
distdir = genkernel-$(PACKAGE_VERSION)
33

44
# Add off-Git/generated files here that need to be shipped with releases
5-
EXTRA_DIST = genkernel.8
5+
EXTRA_DIST = genkernel.8 ChangeLog
66

77
genkernel.8: doc/genkernel.8.txt doc/asciidoc.conf Makefile genkernel
88
a2x --conf-file=doc/asciidoc.conf --attribute="genkernelversion=$(PACKAGE_VERSION)" \
99
--format=manpage -D . "$<"
1010

11+
ChangeLog:
12+
git log >$@
13+
1114
clean:
12-
rm -f genkernel.8
15+
rm -f $(EXTRA_DIST)
1316

1417
check-git-repository:
1518
git diff --quiet || { echo 'STOP, you have uncommitted changes in the working directory' ; false ; }
1619
git diff --cached --quiet || { echo 'STOP, you have uncommitted changes in the index' ; false ; }
1720

18-
dist: check-git-repository genkernel.8
21+
dist: check-git-repository $(EXTRA_DIST)
1922
rm -Rf "$(distdir)" "$(distdir)".tar "$(distdir)".tar.bz2
2023
mkdir "$(distdir)"
2124
git ls-files -z | xargs -0 cp --no-dereference --parents --target-directory="$(distdir)" \

0 commit comments

Comments
 (0)