From: Bastian Germann <bage@xxxxxxxxxxxxx> Building Debian packages via the [bin]deb-pkg make targets has some shortcomings. These targets do not allow for packing a Debian source package independently from actually building the binary package. This series improves that process by making it possible to rebuild the packages without errors via dpkg-buildpackage, by separating source package creation from binary package building, and by making the dbg package build optional. Bastian Germann (6): builddeb: diff-ignore unexported top-level files builddeb: set CC on cross build to prefixed gcc builddeb: clean generated package content builddeb: use standard format for copyright file builddeb: introduce profile excluding the dbg pkg kbuild: introduce srcdeb-pkg target scripts/Makefile.package | 8 ++++++-- scripts/package/mkdebian | 40 ++++++++++++++++++++++++++-------------- 2 files changed, 32 insertions(+), 16 deletions(-) -- 2.30.2