From: dlezcano Date: Tue, 28 Oct 2008 22:08:05 +0000 (+0000) Subject: Generate a ChangeLog, if possible, and copy it to the dist directory in order X-Git-Tag: lxc_0_4_0~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f04d36bf47112a59282fd0ef1e8a0703a7d9e802;p=thirdparty%2Flxc.git Generate a ChangeLog, if possible, and copy it to the dist directory in order to be shipped with the release --- 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) \