From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Rettke Subject: A simple org tangle and weave makefile Date: Tue, 10 Jun 2014 18:47:06 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuVky-0005ou-KF for emacs-orgmode@gnu.org; Tue, 10 Jun 2014 19:47:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WuVkx-0000tD-Io for emacs-orgmode@gnu.org; Tue, 10 Jun 2014 19:47:08 -0400 Received: from mail-oa0-x22a.google.com ([2607:f8b0:4003:c02::22a]:59420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuVkx-0000t5-Cy for emacs-orgmode@gnu.org; Tue, 10 Jun 2014 19:47:07 -0400 Received: by mail-oa0-f42.google.com with SMTP id eb12so5882467oac.29 for ; Tue, 10 Jun 2014 16:47:06 -0700 (PDT) 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, My goals was to have a simple makefile to tangle and weave a document; so org-mk was out of scope. Just wondering; how could I have done it better? ########## INIT=3D.emacs.el $(INIT): TC3F.org time emacs --batch --no-init-file --load .org-mode.emacs.el --find-file TC3F.org --funcall org-babel-tangle --kill TC3F.html: $(INIT) time emacs --batch --no-init-file --load .org-mode.emacs.el --find-file TC3F.org --funcall org-html-export-to-html --kill clean: rm $(INIT) rm TC3F.html ########## Kind regards, Grant Rettke | AAAS, ACM, ASA, FSF, IEEE, SIAM, Sigma Xi gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/ =E2=80=9CWisdom begins in wonder.=E2=80=9D --Socrates ((=CE=BB (x) (x x)) (=CE=BB (x) (x x))) =E2=80=9CLife has become immeasurably better since I have been forced to st= op taking it seriously.=E2=80=9D --ThompsonH