mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-01 10:15:19 +02:00
include entire source tree in source package
It is probably worth spending the time to split them up with multiple upstream tarballs, but for now, usbboot, xbboot, and so on are in a single repository managed as a single project. Teach debian/rules get-orig-source to build a single upstream tarball with the entire source tree. Include history of whole tree in the generated changelog.upstream. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
This commit is contained in:
parent
e140411424
commit
78f38d48bf
2
debian/changelog.upstream.awk
vendored
2
debian/changelog.upstream.awk
vendored
@ -84,7 +84,7 @@ function add_version(new,new_cid, limiter,versionline,command,line) {
|
||||
print versionline >> cl;
|
||||
|
||||
print "" >> cl;
|
||||
command = "git shortlog \"" limiter last_cid "\" -- .";
|
||||
command = "git shortlog \"" limiter last_cid "\"";
|
||||
while(command | getline line)
|
||||
print line >> cl;
|
||||
|
||||
|
4
debian/get-orig-source.sh
vendored
4
debian/get-orig-source.sh
vendored
@ -26,5 +26,5 @@ upstream_version="${release}+${date}"
|
||||
|
||||
# Generate tarball.
|
||||
echo "packaging $(git rev-parse --short FETCH_HEAD)"
|
||||
git archive FETCH_HEAD -- usbboot xbboot |
|
||||
gzip -n -9 > "xburst-tools_$upstream_version.orig.tar.gz"
|
||||
git archive FETCH_HEAD |
|
||||
gzip -n -9 >"xburst-tools_$upstream_version.orig.tar.gz"
|
||||
|
Loading…
Reference in New Issue
Block a user