Move stamp directory creation into rules.real
This commit is contained in:
parent
468eb97bf7
commit
5385ecc9a8
|
@ -9,15 +9,12 @@ MAKEFLAGS += $(subst parallel=,-j,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
|||
|
||||
build: build-arch build-indep
|
||||
|
||||
build-arch: debian/control $(STAMPS_DIR)
|
||||
build-arch: debian/control
|
||||
dh_testdir
|
||||
$(MAKE) -f debian/rules.gen build
|
||||
|
||||
build-indep: debian/control
|
||||
|
||||
$(STAMPS_DIR):
|
||||
@[ -d $@ ] || mkdir $@
|
||||
|
||||
DIR_ORIG = ../orig/$(DEB_SOURCE)-$(DEB_VERSION_UPSTREAM)
|
||||
TAR_ORIG_NAME = $(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM).orig.tar.xz
|
||||
TAR_ORIG = $(firstword $(wildcard ../$(TAR_ORIG_NAME)) $(wildcard ../orig/$(TAR_ORIG_NAME)))
|
||||
|
|
|
@ -15,6 +15,7 @@ build: $(STAMPS_DIR)/build
|
|||
|
||||
$(STAMPS_DIR)/build:
|
||||
$(MAKE) -C $(BUILD_DIR) top_srcdir=$(CURDIR)
|
||||
mkdir -p $(STAMPS_DIR)
|
||||
touch '$@'
|
||||
|
||||
install-kbuild: PACKAGE_NAME = linux-kbuild-$(VERSION)
|
||||
|
|
Loading…
Reference in New Issue