diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2024-06-07 20:06:35 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2024-06-07 20:06:35 +0200 |
| commit | ad09eaa52bb8ea37841c397bf476022275421218 (patch) | |
| tree | 489942a70ac9f2513408cd8045ee01dd170d1b55 /docs | |
| parent | 1b4526453ef6bdee30635f469aa26085c02b1ac1 (diff) | |
make: Integrate texi target
Now that an Org version (9.6), which contains the necessary changes to
ox-texinfo, has been released, we assume that users have the necessary
tools.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/Makefile b/docs/Makefile index 0bbd023..150436f 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -1,8 +1,9 @@ -include ../config.mk include ../default.mk -docs: info html html-dir pdf +docs: texi info html html-dir pdf +texi: $(PKG).org info: $(PKG).info dir html: $(PKG).html pdf: $(PKG).pdf @@ -12,10 +13,9 @@ ORG_EVAL += --eval "(setq indent-tabs-mode nil)" ORG_EVAL += --eval "(setq org-src-preserve-indentation nil)" ORG_EVAL += --funcall org-texinfo-export-to-texinfo -.PHONY: texi -texi: - @printf "Generating $(PKG).texi\n" - @$(EMACS) $(ORG_ARGS) $(PKG).org $(ORG_EVAL) +%.texi: %.org + @printf "Generating $@\n" + @$(EMACS) $(ORG_ARGS) $< $(ORG_EVAL) %.info: %.texi @printf "Generating $@\n" |
