all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#9323: Non-recursive make build systems and M-x compile
@ 2011-08-18 18:37 Reuben Thomas
  2011-08-18 21:48 ` Andreas Schwab
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Reuben Thomas @ 2011-08-18 18:37 UTC (permalink / raw)
  To: 9323

With a non-recursive make-based build system, how do I make M-x
compile work nicely?

If I just run M-x compile when visiting a source file under src/ it
doesn't work, as src/ contains no Makefile.

If I change the build command to make -C .., then Emacs gives errors
in the compile buffer pointing to files like "src/foo.c", but can't
follow those links, I presume because it considers the current dir for
the build to be "src".

Looking through compile.el it seems I ought to be able to set
compile-directory conveniently somehow; I imagine that I wouldn't want
to change the default-directory for my source buffers, though.

(BTW, typo in compile.el: "fone after" → "done after".)

-- 
http://rrt.sc3d.org





^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-08-20 12:57 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-18 18:37 bug#9323: Non-recursive make build systems and M-x compile Reuben Thomas
2011-08-18 21:48 ` Andreas Schwab
2011-08-18 22:43   ` Reuben Thomas
2011-08-19  1:28 ` grischka
2011-08-19  3:23 ` Stefan Monnier
2011-08-19 12:17   ` Reuben Thomas
2011-08-19 13:41     ` Andreas Schwab
2011-08-19 17:22       ` Reuben Thomas
2011-08-19 19:46         ` Andreas Schwab
2011-08-19 19:55           ` Reuben Thomas
2011-08-19 23:30             ` Andreas Schwab
2011-08-20  5:20               ` Reuben Thomas
2011-08-20 12:57                 ` Andreas Schwab

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.