Now calculate SOURCE_VERSION and REVISIONS from the changelog, not the most efficient way, but hey :)
svn path=/dists/trunk/linux-2.6/; revision=5348
This commit is contained in:
parent
5e85a1c04a
commit
e88ab311eb
|
@ -89,9 +89,8 @@ debian/control-real: debian/bin/gencontrol.py $(CONTROL_FILES)
|
|||
|
||||
CheckConfs_DIR := $(CURDIR)/debian/build/check
|
||||
CheckConfs_srcfiles := $(filter-out debian, $(wildcard *))
|
||||
# TODO : need to grab those directly from the changelog or whatever.
|
||||
CheckConfs_SOURCE_VERSION := 2.6.15-2
|
||||
CheckConfs_REVISIONS := 1 2
|
||||
CheckConfs_SOURCE_VERSION := ${shell a=`head -n 1 debian/changelog`; a=$${a%%\)*}; a=$${a\#\#*\(}; echo $$a}
|
||||
CheckConfs_REVISIONS := ${shell a=$(CheckConfs_SOURCE_VERSION); a=$${a\#\#*-}; b=1; while [ $$b -lt $$a ]; do echo -n "$$b "; b=$$(($$b+1)); done; echo $$b}
|
||||
|
||||
$(CheckConfs_DIR) source-configs:
|
||||
rm -rf '$(CheckConfs_DIR)'
|
||||
|
|
Loading…
Reference in New Issue