debian/rules: Remove extra base stamp files.
svn path=/dists/trunk/linux/; revision=19549
This commit is contained in:
parent
ae1dc30ab8
commit
230f4a9380
|
@ -9,8 +9,6 @@ VERSION_BINNMU := $(shell echo "$(VERSION)" | sed -ne 's,.*+b\(.*\)$$,\1,p')
|
||||||
|
|
||||||
include debian/rules.defs
|
include debian/rules.defs
|
||||||
|
|
||||||
stamp = [ -d $(dir $@) ] || mkdir $(dir $@); touch $@
|
|
||||||
|
|
||||||
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
||||||
DEBIAN_KERNEL_JOBS := $(subst parallel=,,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
DEBIAN_KERNEL_JOBS := $(subst parallel=,,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
||||||
endif
|
endif
|
||||||
|
@ -20,31 +18,23 @@ endif
|
||||||
|
|
||||||
.NOTPARALLEL:
|
.NOTPARALLEL:
|
||||||
|
|
||||||
source: debian/control $(STAMPS_DIR)/source-base
|
source: debian/control
|
||||||
$(STAMPS_DIR)/source-base:
|
|
||||||
dh_testdir
|
dh_testdir
|
||||||
$(MAKE) -f debian/rules.gen source
|
$(MAKE) -f debian/rules.gen source
|
||||||
@$(stamp)
|
|
||||||
|
|
||||||
setup: debian/control $(STAMPS_DIR)/setup-base
|
setup: debian/control
|
||||||
$(STAMPS_DIR)/setup-base: $(STAMPS_DIR)/source-base
|
|
||||||
dh_testdir
|
dh_testdir
|
||||||
$(MAKE) -f debian/rules.gen setup_$(DEB_HOST_ARCH)
|
$(MAKE) -f debian/rules.gen setup_$(DEB_HOST_ARCH)
|
||||||
@$(stamp)
|
|
||||||
|
|
||||||
build: build-arch build-indep
|
build: build-arch build-indep
|
||||||
|
|
||||||
build-arch: debian/control $(STAMPS_DIR)/build-arch-base
|
build-arch: debian/control
|
||||||
$(STAMPS_DIR)/build-arch-base: $(STAMPS_DIR)/setup-base
|
|
||||||
dh_testdir
|
dh_testdir
|
||||||
$(MAKE) -f debian/rules.gen build-arch_$(DEB_HOST_ARCH)
|
$(MAKE) -f debian/rules.gen build-arch_$(DEB_HOST_ARCH)
|
||||||
@$(stamp)
|
|
||||||
|
|
||||||
build-indep: debian/control $(STAMPS_DIR)/build-indep-base
|
build-indep: debian/control
|
||||||
$(STAMPS_DIR)/build-indep-base: $(STAMPS_DIR)/setup-base
|
|
||||||
dh_testdir
|
dh_testdir
|
||||||
$(MAKE) -f debian/rules.gen build-indep
|
$(MAKE) -f debian/rules.gen build-indep
|
||||||
@$(stamp)
|
|
||||||
|
|
||||||
DIR_ORIG = ../orig/$(SOURCE)-$(VERSION_UPSTREAM)
|
DIR_ORIG = ../orig/$(SOURCE)-$(VERSION_UPSTREAM)
|
||||||
TAR_ORIG_NAME = $(SOURCE)_$(VERSION_UPSTREAM).orig.tar.xz
|
TAR_ORIG_NAME = $(SOURCE)_$(VERSION_UPSTREAM).orig.tar.xz
|
||||||
|
@ -71,11 +61,11 @@ clean: debian/control
|
||||||
rm -rf $(BUILD_DIR) $(STAMPS_DIR) debian/lib/python/debian_linux/*.pyc debian/linux-headers-* debian/linux-image-* debian/linux-support-* debian/linux-source-* debian/linux-doc-* debian/linux-manual-* debian/xen-linux-system-* debian/*-modules-*-di*
|
rm -rf $(BUILD_DIR) $(STAMPS_DIR) debian/lib/python/debian_linux/*.pyc debian/linux-headers-* debian/linux-image-* debian/linux-support-* debian/linux-source-* debian/linux-doc-* debian/linux-manual-* debian/xen-linux-system-* debian/*-modules-*-di*
|
||||||
dh_clean
|
dh_clean
|
||||||
|
|
||||||
binary-indep: $(STAMPS_DIR)/build-indep-base
|
binary-indep:
|
||||||
dh_testdir
|
dh_testdir
|
||||||
$(MAKE) -f debian/rules.gen binary-indep
|
$(MAKE) -f debian/rules.gen binary-indep
|
||||||
|
|
||||||
binary-arch: $(STAMPS_DIR)/build-arch-base
|
binary-arch:
|
||||||
dh_testdir
|
dh_testdir
|
||||||
$(MAKE) -f debian/rules.gen binary-arch_$(DEB_HOST_ARCH)
|
$(MAKE) -f debian/rules.gen binary-arch_$(DEB_HOST_ARCH)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue