[PATCH 1/3] [buildsys] don't copy .dotfiles from main source to the build directories
The .dotfiles present in the top-level directory are various
stuff not really needed for compilation. Original source
includes .gitignore and .ident.pro, debian build system
adds .pc/ (from quilt) - and the latter even breaks compile
since some files (newly created by patches) can't be read
(quilt creates them in .pc/ with mode 000), and the source
copy procedure fails. So just skip these and start with
more or less clean build directory.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
diff --git a/debian/rules b/debian/rules
index 6abdc49..ddb2945 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,7 +21,7 @@ $(STAMPS_DIR)/patch:
setup: $(STAMPS_DIR)/setup_deb $(STAMPS_DIR)/setup_static $(STAMPS_DIR)/setup_udeb
-$(STAMPS_DIR)/setup_%: SOURCE_FILES = $(filter-out debian, $(wildcard * .[^.]*))
+$(STAMPS_DIR)/setup_%: SOURCE_FILES = $(filter-out debian, $(wildcard *))
$(STAMPS_DIR)/setup_%: DIR=$(BUILD_DIR)/build_$*
$(STAMPS_DIR)/setup_%: $(STAMPS_DIR)/patch
dh_testdir
--
1.7.2.3
Reply to: