From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: use of tar in make install rules Date: Fri, 11 May 2012 15:30:02 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1336764611 19210 80.91.229.3 (11 May 2012 19:30:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 May 2012 19:30:11 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 11 21:30:11 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SSvXV-0001QM-WF for ged-emacs-devel@m.gmane.org; Fri, 11 May 2012 21:30:10 +0200 Original-Received: from localhost ([::1]:36359 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSvXV-0000SK-9A for ged-emacs-devel@m.gmane.org; Fri, 11 May 2012 15:30:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSvXS-0000PV-Ab for emacs-devel@gnu.org; Fri, 11 May 2012 15:30:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SSvXQ-0001Mr-Jd for emacs-devel@gnu.org; Fri, 11 May 2012 15:30:05 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:54302) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSvXQ-0001MI-Fl for emacs-devel@gnu.org; Fri, 11 May 2012 15:30:04 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1SSvXO-0007VY-M2; Fri, 11 May 2012 15:30:02 -0400 X-Spook: Saudi Arabia constitution interception weapons of mass X-Ran: o-H:2L@gUYu2=LAI*]3|U\`c4HgRhvy=uUqN{=Qt?nw,@lC>&BG@{#^36$Co2|gn0e#zbM X-Hue: yellow X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:150447 Archived-At: To install a directory and all its contents (eg lisp), the Emacs Makefile uses: (cd $${dir}; tar -chf - . ) | \ (cd $${dest}; umask 022; tar -xvf - && cat > /dev/null) Why does it use tar, as opposed to "cp -R"? Please don't tell me that cp -R isn't portable... (There are no symbolic links or device files involved.)