From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Moving homebrewn binaries and question about building documentation Date: Sat, 21 Jul 2007 19:58:23 +0300 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1185037117 328 80.91.229.12 (21 Jul 2007 16:58:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 21 Jul 2007 16:58:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eric Lilja Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 21 18:58:36 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ICIHp-00052c-8d for ged-emacs-devel@m.gmane.org; Sat, 21 Jul 2007 18:58:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ICIHo-0008VO-Kw for ged-emacs-devel@m.gmane.org; Sat, 21 Jul 2007 12:58:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ICIHk-0008Uv-Rf for emacs-devel@gnu.org; Sat, 21 Jul 2007 12:58:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ICIHi-0008Ui-BH for emacs-devel@gnu.org; Sat, 21 Jul 2007 12:58:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ICIHi-0008Uf-5m for emacs-devel@gnu.org; Sat, 21 Jul 2007 12:58:26 -0400 Original-Received: from nitzan.inter.net.il ([213.8.233.22]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ICIHh-00014W-Ij for emacs-devel@gnu.org; Sat, 21 Jul 2007 12:58:25 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-15-42.inter.net.il [80.230.15.42]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id HIB54178 (AUTH halo1); Sat, 21 Jul 2007 19:58:33 +0300 (IDT) In-reply-to: (message from Eric Lilja on Sat, 21 Jul 2007 18:25:30 +0200) X-detected-kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:75242 Archived-At: > From: Eric Lilja > Date: Sat, 21 Jul 2007 18:25:30 +0200 > > if you know of a clever way I can remove these directories from > inside my script? Just copy these lines from Makefile.in: for subdir in `find $${dest} -type d ! -name RCS ! -name CVS -print` ; do \ chmod a+rx $${subdir} ; \ rm -rf $${subdir}/RCS ; \ rm -rf $${subdir}/CVS ; \ rm -f $${subdir}/.cvsignore ; \ rm -f $${subdir}/.arch-inventory ; \ rm -f $${subdir}/\#* ; \ rm -f $${subdir}/.\#* ; \ rm -f $${subdir}/*~ ; \ rm -f $${subdir}/*.orig ; \ rm -f $${subdir}/[mM]akefile* ; \ rm -f $${subdir}/ChangeLog* ; \ rm -f $${subdir}/dired.todo ; \ done) ; \ where $$(dest) is the value of INSTALL_DIR you give to "make install". (You will have to convert $$ into $ in this snippet, for it to work from a script, as opposed to a Makefile.) > You're a great asset, Eli! Thanks! You're welcome.