move autogenerated variables down to the autogen'd section

svn path=/trunk/kernel/source/linux-kernel-2.6.12/; revision=3433
This commit is contained in:
Andres Salomon 2005-07-09 23:55:31 +00:00
parent f1f32ab393
commit 1dcc5b31ff
1 changed files with 3 additions and 4 deletions

7
debian/rules vendored
View File

@ -2,16 +2,15 @@
#
# Required variables. See README for a description of all the variables.
#
version := $(shell dpkg-parsechangelog | sed -n 's/^Source: linux-kernel-\(.\+\)$$/\1/p')
major_v := $(wordlist 1,1,$(subst ., ,$(version)))
minor_v := $(wordlist 2,2,$(subst ., ,$(version)))
abiname := 1
ltver := 1
#
# Generally nothing needs to be modified below this line
#
SHELL := sh -e
karch := $(shell dpkg-architecture -qDEB_HOST_ARCH)
version := $(shell dpkg-parsechangelog | sed -n 's/^Source: linux-kernel-\(.\+\)$$/\1/p')
major_v := $(wordlist 1,1,$(subst ., ,$(version)))
minor_v := $(wordlist 2,2,$(subst ., ,$(version)))
major := $(major_v).$(minor_v)
srcver := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
ltver := $(word 2,$(subst -, ,$(srcver)))