new-ryuslash.org/GNUmakefile

11 lines
248 B
Makefile

define tangle =
eldev emacs -quick -batch \
-eval "(package-initialize)" \
-load ob-tangle \
-eval "(org-babel-tangle-file \"$<\" \"$(PWD)/$@\"$(if $1, \"$1\"))"
endef
build.mk: literate-build.org
$(call tangle)
include build.mk