debian_transform_files = $(patsubst %,$(DEB_TRANSFORM_FILES_DIR)%,$(1))
undebian_transform_files = $(patsubst $(DEB_TRANSFORM_FILES_DIR)%,%,$(1))
-common-build-indep:: $(foreach file,$(DEB_TRANSFORM_FILES),$(call debian_transform_files,$(file)))
+common-build-arch common-build-indep:: $(foreach file,$(DEB_TRANSFORM_FILES),$(call debian_transform_files,$(file)))
$(call debian_transform_files,%): $(call debian_check_files,%)
mkdir -p $(@D)
$(DEB_DESTDIR)/$(dir $(file));)
clean::
- $(foreach file,$(DEB_TRANSFORM_FILES),rm -f debian/$(notdir $(file)))
rm -rf $(DEB_TRANSFORM_FILES_DIR)
endif