emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to build a project from org files using ant/make?
@ 2012-03-02 20:45 Robert McIntyre
  2012-03-02 20:54 ` Eric Schulte
  0 siblings, 1 reply; 2+ messages in thread
From: Robert McIntyre @ 2012-03-02 20:45 UTC (permalink / raw)
  To: emacs-orgmode

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

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

end of thread, other threads:[~2012-03-02 20:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-02 20:45 How to build a project from org files using ant/make? Robert McIntyre
2012-03-02 20:54 ` Eric Schulte

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