Not really large difference, but linking lots of files is more
efficient than copying.  Source files aren't changed during build.

This change depends on the previous (don't copy .dotfiles), since
one of possible .dotfiles to be found in (unclean) top source dir
is .config, which should not be linked.  But we don't include
.dotfiles into the list of files to be linked/copied anymore.

Signed-off-by: Michael Tokarev <[email protected]>

diff --git a/debian/rules b/debian/rules
index ddb2945..7d74768 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,7 +27,7 @@ $(STAMPS_DIR)/setup_%: $(STAMPS_DIR)/patch
        dh_testdir
        rm -rf '$(DIR)'
        mkdir -p '$(DIR)'
-       cp -a $(SOURCE_FILES) '$(DIR)'
+       cp -a -l $(SOURCE_FILES) '$(DIR)'
        cat debian/config/os/$(DEB_HOST_ARCH_OS) debian/config/pkg/$* > 
'$(DIR)'/.config
        $(MAKE) -C '$(DIR)' oldconfig
        touch $@
-- 
1.7.2.3


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/1e6c0f93cbc608348841c5b3ed219696d1224a21.1297695597.git....@msgid.tls.msk.ru

Reply via email to