[U-Boot] [PATCH 2/2] remove main CHANGELOG file

Wolfgang Denk wd at denx.de
Wed May 5 16:17:45 CEST 2010


Dear Marek,

In message <201005051551.47704.marek.vasut at 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


More information about the U-Boot mailing list