build: Remove pointless -r option to cp for target tarball.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 21 Sep 2014 18:54:55 +0000 (20:54 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 26 Oct 2014 12:15:54 +0000 (13:15 +0100)
We copy two regular files here, so there is no need to copy recursively.

Makefile.real

index 79d142331e3f95a9cfe268dea91c73e8060e42dd..fdae39a8f38b6bf4c4f1997bc11df3c58026ab41 100644 (file)
@@ -309,7 +309,7 @@ $(tarball):
                | tar --delete $(tarball_delete) > $(tarball_pfx).tar
        $(Q) $(MKDIR_P) $(tarball_pfx)
        $(Q) ./GIT-VERSION-GEN > $(tarball_pfx)/VERSION
                | tar --delete $(tarball_delete) > $(tarball_pfx).tar
        $(Q) $(MKDIR_P) $(tarball_pfx)
        $(Q) ./GIT-VERSION-GEN > $(tarball_pfx)/VERSION
-       $(Q) cp -r $(autocrap) $(tarball_pfx)
+       $(Q) cp $(autocrap) $(tarball_pfx)
        $(Q) tar rf $(tarball_pfx).tar $(tarball_pfx)/*
        $(Q) bzip2 -9 $(tarball_pfx).tar
        $(Q) ls -l $(tarball)
        $(Q) tar rf $(tarball_pfx).tar $(tarball_pfx)/*
        $(Q) bzip2 -9 $(tarball_pfx).tar
        $(Q) ls -l $(tarball)