From f98fa3ea65a685cd4e246d1282ce13dfae498f7f Mon Sep 17 00:00:00 2001 From: Jurij Smakov Date: Sat, 16 Jul 2005 05:23:49 +0000 Subject: [PATCH] Make sure that stuff does not break if extra_postinstall_command is undefined. svn path=/trunk/kernel/source/linux-2.6-2.6.12/; revision=3535 --- debian/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/debian/Makefile b/debian/Makefile index 4afe00fda..27b6c1092 100644 --- a/debian/Makefile +++ b/debian/Makefile @@ -156,10 +156,15 @@ header-install-$(subarch): templates/header-install.in # The way to make the correct package names is to make a # subarch-specific post-install script... # +ifdef extra_postinstall_command + extra_command := $(extra_postinstall_command) +else + extra_command := true +endif post-install-$(subarch): templates/post-install.in - sed -e 's,@initrd_modules@,$(initrd_modules),' \ - -e 's,@append_subarch@,$(append),' \ - -e 's,@extra_postinstall_command@,$(extra_postinstall_command),' \ + sed -e 's,@initrd_modules@,$(initrd_modules),' \ + -e 's,@append_subarch@,$(append),' \ + -e 's,@extra_postinstall_command@,$(extra_command),' \ templates/post-install.in > post-install-$(subarch) # # Generates the kernel config file for a subarch by merging