rpm-pkg: Do not package the whole source directory
authorMichal Marek <mmarek@suse.cz>
Fri, 12 Apr 2013 12:12:50 +0000 (14:12 +0200)
committerMichal Marek <mmarek@suse.cz>
Thu, 18 Apr 2013 12:56:44 +0000 (14:56 +0200)
commit6615d6c322a364be45324f553db57545a3b2e95f
treec06973c0d14476aee388d4e9608f3ecb9efcb2be
parent6bc6c9409de03987736df58c411c3aa7b5aed051
rpm-pkg: Do not package the whole source directory

The source tree can contain lots of uninteresting data like tag or
cscope files, packaging which slows down make rpm needlessly. It can
also break the build, if the tree contains an unrelated file named
*.spec. The downside of this change is that new subdirectories have to
be added to the KBUILD_ALLDIRS variable in the top-level Makefile. The
upside is that the behavior is more predictable.

Signed-off-by: Michal Marek <mmarek@suse.cz>
Makefile
scripts/package/Makefile