From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Minshall Subject: org-mode and/versus make/makefiles Date: Wed, 11 Jun 2014 22:24:57 +0300 Message-ID: <55010.1402514697@greg-minshalls-mbp.local> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54173) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wuo8j-0000Aw-7R for emacs-orgmode@gnu.org; Wed, 11 Jun 2014 15:25:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wuo8b-0001t2-Cb for emacs-orgmode@gnu.org; Wed, 11 Jun 2014 15:24:53 -0400 Received: from relay02.pair.com ([209.68.5.16]:2237) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Wuo8b-0001st-7L for emacs-orgmode@gnu.org; Wed, 11 Jun 2014 15:24:45 -0400 Received: from greg-minshalls-mbp.local (localhost [127.0.0.1]) by gregair.cliq.com (Postfix) with ESMTP id 54ACC4468A3B7 for ; Wed, 11 Jun 2014 22:24:58 +0300 (EEST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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