help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Let compilation start in one directory below current one


From: Dan Espen
Subject: Re: Let compilation start in one directory below current one
Date: Thu, 23 Oct 2008 11:58:01 -0400
User-agent: Gnus/5.090015 (Oort Gnus v0.15) XEmacs/21.4 (Educational Television, i686-pc-linux)

"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".


reply via email to

[Prev in Thread] Current Thread [Next in Thread]