1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2025-04-21 12:27:27 +03:00

debian/rules: add target to build source tarball

Document how to use ‘git archive’ to build a tarball from the
usbboot subdirectory of the source repository.

Repeated invocations of the get-orig-source target to fetch the
same commit will produce byte-for-byte identical results.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
This commit is contained in:
Jonathan Nieder
2010-04-05 07:05:01 -05:00
committed by Xiangfu Liu
parent a2a9d90ef9
commit 3d74b6ace7
4 changed files with 51 additions and 10 deletions

View File

@@ -47,3 +47,10 @@ firmware: configure
./configure --enable-firmware
$(MAKE) -C src ../xburst_stage1/xburst_stage1.bin \
../xburst_stage2/xburst_stage2.bin
REPO = git://projects.qi-hardware.com/xburst-tools.git
BRANCH = master
debiandir_SQ = $(subst ','\'',$(dir $(lastword $(MAKEFILE_LIST))))
get-orig-source:
REPO='$(REPO)' BRANCH='$(BRANCH)' \
sh '$(debiandir_SQ)'get-orig-source.sh