kbuild, deb-pkg: refactor code to reduce duplication
authorFrans Pop <elendil@planet.nl>
Wed, 22 Apr 2009 23:08:44 +0000 (01:08 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Tue, 9 Jun 2009 20:37:35 +0000 (22:37 +0200)
commit3e2ab2563a599c3d3fd03952c056af09fc03b74a
tree5d06666b9c983acf50db9ca33ab67956ee61932d
parent4f66199b4b372a530333d0f25aeb5d80362241ed
kbuild, deb-pkg: refactor code to reduce duplication

Factor out code to build package into separate function and
only write "source" section for the debian/control file once.

Signed-off-by: Frans Pop <elendil@planet.nl>
Acked-by: maximilian attems <max@stro.at>
Cc: Andres Salomon <dilinger@debian.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/package/builddeb