X-Git-Url: http://git.maemo.org/git/?p=kernel-bfs;a=blobdiff_plain;f=kernel-bfs-2.6.28%2Fdebian%2Frules;h=f8666a8e9a1d2450131f2babc9fe5aeb704d4a5d;hp=42dd8955ac192abd29abce4e0d2e28b72dcf45e7;hb=9839a5accde45f431cc1faf252e3973501b96298;hpb=a795b4bf7c329d4d66a0f26c0c6a4854447837b6 diff --git a/kernel-bfs-2.6.28/debian/rules b/kernel-bfs-2.6.28/debian/rules index 42dd895..f8666a8 100644 --- a/kernel-bfs-2.6.28/debian/rules +++ b/kernel-bfs-2.6.28/debian/rules @@ -4,7 +4,7 @@ WEEK := $(shell date +%Y%W) RELEASE := $(shell dpkg-parsechangelog | awk '/^Version: / { print $$2 }') REVISION := $(shell echo "$(RELEASE)" | sed 's/\(.*\)-maemo\(.*\)/.10bfs\2/') -EXTRAVERSION := EXTRAVERSION=$(REVISION) +EXTRAVERSION := EXTRAVERSION=-bfs2 PACKAGE := kernel FLASHER_PACKAGE := kernel-bfs-flasher @@ -163,6 +163,7 @@ install-headers: #kbuild fixes cd $(CURDIR)/debian/$(HEADERS_PACKAGE)/usr/src/$(KBUILD_PACKAGE)/scripts && \ ( rm -f $(RM_SCRIPTS); chmod a-x mkcompile_h ) + find $(CURDIR)/debian/$(HEADERS_PACKAGE) -name ".gitignore" -exec rm {} \; install-libc-headers: dh_testdir