emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Greg Minshall <minshall@acm.org>
To: emacs-orgmode@gnu.org
Subject: org-mode and/versus make/makefiles
Date: Wed, 11 Jun 2014 22:24:57 +0300	[thread overview]
Message-ID: <55010.1402514697@greg-minshalls-mbp.local> (raw)

hi, all.

if this is out of scope, or likely to be too much of a rat hole, please
let me know (and otherwise ignore).

occasionally, i work on something complicated enough that i feel the
need of using make to manage dependencies, allow for cleaning up working
directories (via "make clean" functionality), and generally organize the
structure of my project (by forcing me to specify the various input
files, output files ("targets"), and processes).

but, when this happens, i have a hard time splitting the
responsibilities for various parts of my build process between the
makefile and the .org file.  for example, i very much like writing small
scripts in my .org file, rather than as stand-alone files.  but, then if
i decide to migrate the output of that script to the makefile, i have to
split out the script to a separate file (and thus lose, or obfuscate,
whatever version control history i have of that script).

as another example, occasionally i feel i should have the .org file call
out to the makefile, either to build something, or to retrieve some
shared parameter (second-normal-form obsessiveness).  or, have the
makefile call the .org file, via some mechanism i've not explored, for
similar reasons.  then, if i have one calling the other calling the
first...

i'm wondering if anyone else, having wrestled with these issues, has any
recipes for some approximation of happiness.  or, some totally different
approach i'm too set in my ways to see.

cheers, Greg Minshall

             reply	other threads:[~2014-06-11 19:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-11 19:24 Greg Minshall [this message]
2014-06-11 20:00 ` org-mode and/versus make/makefiles Grant Rettke

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.orgmode.org/

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

  git send-email \
    --in-reply-to=55010.1402514697@greg-minshalls-mbp.local \
    --to=minshall@acm.org \
    --cc=emacs-orgmode@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).