linux-rpm.mk: Add missing targets install and distclean

This commit is contained in:
Jan Lindemann 2007-11-17 12:59:42 +00:00 committed by Jan Lindemann
commit f3e5b29948

View file

@ -11,6 +11,7 @@ KERNEL_MINOR = $(shell echo $(KERNEL_VERSION) | cut -d\. -f2)
KERNEL_RELEASE = $(shell echo $(KERNEL_VERSION) | cut -d\. -f3)
KERNEL_DLOAD_DIR ?= /home/samba/dat/share/exe/linux/os
KERNEL_PKG_BASE = $(KERNEL_DLOAD_DIR)/$(KERNEL_MAJOR).$(KERNEL_MINOR)/linux-$(KERNEL_VERSION).tar
LINUX_KERNEL_PATCH_DIR ?= $(CVS_ROOT_DIR)/conf/jannet.de/all/lx-patches
ifneq ($(wildcard $(KERNEL_PKG_BASE).*),)
ifneq ($(wildcard $(KERNEL_PKG_BASE).gz),)
@ -43,7 +44,9 @@ export KERNEL_INSTALL_PREFIX
# first target
all: rpm
install: install.this
clean: thisclean
distclean: clean
# file rules
$(KERNEL_PKG):
@ -161,6 +164,9 @@ thisclean:
touch EXTRAVERSION COMPLETE_VERSION
make -f $(SUBMAKEFILE) clean
install.this:
make -f $(SUBMAKEFILE) install
export \
TOPDIR MODDIR KERNEL_VERSION RPM_RELEASE HOST KERNEL_PKG_SUFFIX CUSTOMER \
KERNEL_BASE_DIR KERNEL_PKG KERNEL_BASE UPLOAD_HOST UPLOAD_PATH \