unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Eric Lilja <mindcooler@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Moving homebrewn binaries and question about building documentation
Date: Sat, 21 Jul 2007 19:58:23 +0300	[thread overview]
Message-ID: <uejj1ofrk.fsf@gnu.org> (raw)
In-Reply-To: <f7tc1p$r3u$1@sea.gmane.org> (message from Eric Lilja on Sat, 21 Jul 2007 18:25:30 +0200)

> From: Eric Lilja <mindcooler@gmail.com>
> 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.

  reply	other threads:[~2007-07-21 16:58 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-21 12:23 Moving homebrewn binaries and question about building documentation Eric Lilja
2007-07-21 13:56 ` Eli Zaretskii
2007-07-21 14:32   ` Eric Lilja
2007-07-21 14:52     ` Eli Zaretskii
2007-07-21 14:56     ` Eric Lilja
2007-07-21 15:31       ` Eli Zaretskii
2007-07-21 16:25         ` Eric Lilja
2007-07-21 16:58           ` Eli Zaretskii [this message]
2007-07-21 17:37             ` Eric Lilja
2007-07-21 19:05               ` Eli Zaretskii
2007-07-22  3:58           ` dhruva
2007-07-22 13:18             ` Eric Lilja
2007-07-21 22:17         ` Jason Rumney
2007-07-22  3:14           ` Eli Zaretskii
2007-07-22 13:18             ` Eric Lilja

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uejj1ofrk.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=mindcooler@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).