From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert McIntyre Subject: How to build a project from org files using ant/make? Date: Fri, 2 Mar 2012 14:45:09 -0600 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3ZLm-0001EB-9T for emacs-orgmode@gnu.org; Fri, 02 Mar 2012 15:45:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3ZLk-0003LJ-34 for emacs-orgmode@gnu.org; Fri, 02 Mar 2012 15:45:13 -0500 Received: from mail-gy0-f169.google.com ([209.85.160.169]:55578) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3ZLj-0003L4-T5 for emacs-orgmode@gnu.org; Fri, 02 Mar 2012 15:45:12 -0500 Received: by ghrr18 with SMTP id r18so1200768ghr.0 for ; Fri, 02 Mar 2012 12:45:09 -0800 (PST) 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, I use org-babel to produce the source and html documentation for my projects. My projects generally look like this: [~/tmp/org-project] $ tree . |-- html | `-- proj.html |-- org | `-- proj.org `-- src `-- namesace |-- prog_1.clj `-- prog_2.clj Here prog_1.clj, prog_2.clj, and proj.html are all generated from the proj.org file. Because the source and html files are generated files, I don't include them in source control. When I download my project on another computer, I want to be able to generate all these files again, preferably from a makefile/build.xml, etc. What is the best practice for doing this? Right now, I maintain two shell scripts called "tangle" and "weave" that invoke emacs on the project, but these rely on my specific emacs setup. How can I make it possible for someone to build my project if they have emacs and make/ant? What are other people doing when it comes to automatically building a project whose source files are generated from org files? sincerely, --Robert McIntyre