all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kai Grossjohann <kai@emptydomain.de>
Subject: compile and the current directory
Date: Fri, 16 Jan 2004 11:28:51 +0100	[thread overview]
Message-ID: <87isjcchlo.fsf@emptyhost.emptydomain.de> (raw)

I have a project which contains a Makefile at its root directory.
Running make for me means to change to that directory before running
make.

(Actually, I'm running another command, not make.)

The problem with "just" running make from the current directory is
that it is a different directory depending on the file I'm editing.

Has somebody made something that would allow me to just invoke M-x
compile RET from any directory and that makes sure that the command is
invoked from the right directory, and that Emacs knows about it?

(I could specify "make -C $HOME/work/foo" as the command if I was
using make.)

Kai

             reply	other threads:[~2004-01-16 10:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-16 10:28 Kai Grossjohann [this message]
2004-01-16 11:22 ` compile and the current directory Alfred M. Szmidt
2004-01-18 17:12   ` Kai Grossjohann
     [not found] ` <mailman.760.1074252175.928.help-gnu-emacs@gnu.org>
2004-01-16 18:40   ` Kevin Rodgers

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=87isjcchlo.fsf@emptyhost.emptydomain.de \
    --to=kai@emptydomain.de \
    /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.