From: Wolfgang Denk Date: Wed, 05 May 2010 16:17:45 +0200 Subject: [U-Boot] [PATCH 2/2] remove main CHANGELOG file In-Reply-To: <201005051551.47704.marek.vasut@gmail.com> References: <20100413211604.66841557.kim.phillips@freescale.com> <20100504192544.6506945d.kim.phillips@freescale.com> <20100505065401.04FACB076D3@gemini.denx.de> <201005051551.47704.marek.vasut@gmail.com> Message-ID: <20100505141745.2F61FB076F1@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Marek, In message <201005051551.47704.marek.vasut@gmail.com> you wrote: > > > Can you recommend a way how such auto-generation / inclusion would be > > done? > > > > Currently I'm using something like this: > > > > $ V=2010.03 > > $ PREFIX=u-boot-${V} > > git log > CHANGELOG > > > $ git archive --format=tar --prefix=${PREFIX}/ v${V} | \ > > > tar -r CHANGELOG or something ? Using a plain "CHANGELOG" here a misses the "${PREFIX}/" part, so I would have to create this directory first [and probably a tmp directory to put it in first to avoid potential name conflicts], then create the CHANGELOG file there, then append it to the archive, then clean everything up. Is there a more elegant way? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Love your country but never trust its government." - from a hand-painted road sign in central Pennsylvania