all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Espen <daneNO@MORE.mk.SPAMtelcordia.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Let compilation start in one directory below current one
Date: Thu, 23 Oct 2008 11:58:01 -0400	[thread overview]
Message-ID: <icvdvj7186.fsf@verizon.net> (raw)
In-Reply-To: 8e2e1f23-1bd1-4e4b-b063-4078aa0f079f@v72g2000hsv.googlegroups.com

"stephan.zimmer" <stephan.zimmer@googlemail.com> writes:

> I would like to start my compilation in one directory deeper than the
> current. Unfortunately, a local variable specification as
>
> % -*- ... compile-directory: (concat default-directory ".."); ... -*-
>
> is not working. Does anyone has an idea (except adding "cd.." to the
> compile command)?

1. compile-command:  cd subdir && make

2. Put cd in the Makefile in the current directory.

3. In make file in current directory, invoke make in the subdirectory

You're requirements may differ, but the 3rd approach is more
"standard".


      parent reply	other threads:[~2008-10-23 15:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-22 11:51 Let compilation start in one directory below current one stephan.zimmer
2008-10-22 20:16 ` Rupert Swarbrick
2008-10-23  8:11 ` Kevin Rodgers
     [not found] ` <mailman.1883.1224749504.25473.help-gnu-emacs@gnu.org>
2008-10-23  8:44   ` Andreas Politz
2008-10-23 14:23   ` stephan.zimmer
2008-10-24  2:42     ` Kevin Rodgers
2008-10-23 15:58 ` Dan Espen [this message]

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

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

  git send-email \
    --in-reply-to=icvdvj7186.fsf@verizon.net \
    --to=daneno@more.mk.spamtelcordia.com \
    --cc=help-gnu-emacs@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.