From 370c1e3bbfc1e939dd7646d581138ba7a2d7c1b8 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 26 Jul 2023 12:19:17 -0700 Subject: [PATCH] Rename build.org -> literate-build.org --- GNUmakefile | 2 +- index.org | 2 +- build.org => literate-build.org | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename build.org => literate-build.org (99%) diff --git a/GNUmakefile b/GNUmakefile index 354fd7d..091af28 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -5,7 +5,7 @@ define tangle = -eval "(org-babel-tangle-file \"$<\" \"$(PWD)/$@\"$(if $1, \"$1\"))" endef -%.mk: build.org +build.mk: literate-build.org $(call tangle) include build.mk diff --git a/index.org b/index.org index 1de55d7..bbfbf83 100644 --- a/index.org +++ b/index.org @@ -29,7 +29,7 @@ The first topic I pay any attention to of course has to be [[file:emacs.org][Ema * My literate configuration -Every so often I get really drawn to remaking my entire configuration into a [[file:literate-programming.org][Literate Programming]] style. See my [[file:config/rincewind.org][latest attempt]] and also my [[file:build.org][literate build files]] for this website. +Every so often I get really drawn to remaking my entire configuration into a [[file:literate-programming.org][Literate Programming]] style. See my [[file:config/rincewind.org][latest attempt]] and also my [[file:literate-build.org][literate build files]] for this website. * Topics diff --git a/build.org b/literate-build.org similarity index 99% rename from build.org rename to literate-build.org index 80516f2..2570531 100644 --- a/build.org +++ b/literate-build.org @@ -16,7 +16,7 @@ define tangle = -eval "(org-babel-tangle-file \"$<\" \"$(PWD)/$@\"$(if $1, \"$1\"))" endef -%.mk: build.org +build.mk: literate-build.org $(call tangle) #+end_src @@ -129,7 +129,7 @@ theme: Eldev ## Generate the theme CSS The =Eldev= target just tangles the {{{input-file}}} into the =Eldev= file. This uses the =tangle= function defined in the intro section. #+begin_src makefile-gmake -Eldev: build.org +Eldev: literate-build.org $(call tangle) #+end_src