From f04d36bf47112a59282fd0ef1e8a0703a7d9e802 Mon Sep 17 00:00:00 2001 From: dlezcano Date: Tue, 28 Oct 2008 22:08:05 +0000 Subject: [PATCH] Generate a ChangeLog, if possible, and copy it to the dist directory in order to be shipped with the release --- Makefile.am | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 2ab16cb11..921a1322a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,14 +5,16 @@ DIST_SUBDIRS = config src test etc EXTRA_DIST = lxc.spec ChangeLog:: - touch ChangeLog + @touch ChangeLog + +dist-hook: + -@cvs2cl + @cp ChangeLog $(distdir) rpm: dist rpmbuild --clean -ta ${distdir}.tar.gz release: rpm - @echo "Generating ChangeLog" - @cvs2cl @sh ./release.sh $(PACKAGE_NAME) \ $(LXC_MAJOR_VERSION) \ $(LXC_MINOR_VERSION) \ -- 2.47.2