From 60e28a2fe04aa7e0aed787da252ea733933cc30d Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Tue, 22 Aug 2023 09:11:25 +0200 Subject: [PATCH] Simplify some Elpaca recipes --- .emacs.d/init.el | 56 ++++++++++++------------------------------------ 1 file changed, 14 insertions(+), 42 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index db4aee8..fd7d3d5 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -105,45 +105,28 @@ (elpaca (ef-themes :pre-build (("emacs" "--batch" "-l" "ox-texinfo" "README.org" "--eval" "(setq org-babel-confirm-evaluate-answer-no t)" - "-f" "org-texinfo-export-to-texinfo") - ("makeinfo" "--no-split" "ef-themes.texi") - ("touch" "dir") - ("install-info" "--dir=dir" "ef-themes.info")))) + "-f" "org-texinfo-export-to-texinfo")))) (elpaca avy) (elpaca (bbdb :repo "https://git.savannah.nongnu.org/git/bbdb.git" :files (:defaults "lisp/*.el.in") :pre-build (("./autogen.sh") ("./configure") - ("make") - ("make install")))) + ("make")))) (elpaca (corfu :pre-build (("mv" "extensions/corfu-indexed.el" "corfu-indexed.el") ("rm" "-r" "extensions")))) -(elpaca (debbugs - :pre-build (("makeinfo" "--no-split" "debbugs.texi") - ("makeinfo" "--no-split" "debbugs-ug.texi") - ("touch" "dir") - ("install-info" "--dir=dir" "debbugs.info") - ("install-info" "--dir=dir" "debbugs-ug.info")))) +(elpaca debbugs) (elpaca (devdocs :pre-build (("emacs" "--batch" "-l" "ox-texinfo" "README.org" "--eval" "(setq org-babel-confirm-evaluate-answer-no t)" "-f" "org-texinfo-export-to-texinfo") - ("makeinfo" "--no-split" "README.texi" "-o" "devdocs.info") - ("touch" "dir") - ("install-info" "--dir=dir" "devdocs.info")))) + ("mv" "README.texi" "devdocs.texi")))) (elpaca diff-hl) (elpaca (eat - :pre-build (("make" "terminfo") - ("makeinfo" "--no-split" "eat.texi") - ("touch" "dir") - ("install-info" "--dir=dir" "eat.info")))) + :pre-build (("make" "terminfo")))) (elpaca (elfeed - :pre-build (("pandoc" "-o" "elfeed.texi" "README.md") - ("makeinfo" "--no-split" "elfeed.texi") - ("touch" "dir") - ("install-info" "--dir=dir" "elfeed.info")))) + :pre-build (("pandoc" "-o" "elfeed.texi" "README.md")))) (elpaca (esy-publish :repo "git://git.eshelyaron.com/esy-publish.git")) (elpaca embark-consult) @@ -159,16 +142,10 @@ (elpaca (lin :pre-build (("emacs" "--batch" "-l" "ox-texinfo" "README.org" "--eval" "(setq org-babel-confirm-evaluate-answer-no t)" - "-f" "org-texinfo-export-to-texinfo") - ("makeinfo" "--no-split" "lin.texi") - ("touch" "dir") - ("install-info" "--dir=dir" "lin.info")))) + "-f" "org-texinfo-export-to-texinfo")))) (elpaca magit) (elpaca (markdown-mode - :pre-build (("pandoc" "-o" "markdown-mode.texi" "README.md") - ("makeinfo" "--no-split" "markdown-mode.texi") - ("touch" "dir") - ("install-info" "--dir=dir" "markdown-mode.info")))) + :pre-build (("pandoc" "-o" "markdown-mode.texi" "README.md")))) (elpaca mastodon) (elpaca ob-prolog) (elpaca orderless) @@ -177,10 +154,7 @@ (elpaca (osm :pre-build (("emacs" "--batch" "-l" "ox-texinfo" "README.org" "--eval" "(setq org-babel-confirm-evaluate-answer-no t)" - "-f" "org-texinfo-export-to-texinfo") - ("makeinfo" "--no-split" "osm.texi") - ("touch" "dir") - ("install-info" "--dir=dir" "osm.info")))) + "-f" "org-texinfo-export-to-texinfo")))) (elpaca (openai :repo "https://git.sr.ht/~eshel/openai.el")) (elpaca package-lint) @@ -190,21 +164,19 @@ "--eval" "(setq org-babel-confirm-evaluate-answer-no t)" "--eval" "(setq org-export-with-broken-links t)" "-f" "org-texinfo-export-to-texinfo") - ("makeinfo" "--no-split" "README.texi" "-o" "pdf-tools.info") - ("touch" "dir") - ("install-info" "--dir=dir" "osm.info")))) + ("mv" "README.texi" "pdf-tools.texi")))) (elpaca rainbow-delimiters) (elpaca rainbow-mode) (elpaca rg) (elpaca smtpmail-multi) (elpaca sqlformat) (elpaca (sweeprolog + :repo "~/checkouts/sweep/" + :files ("*.org" "dir" "*.info" "sweep.pl" + "sweeprolog-pce-theme.el" "sweeprolog.el") :pre-build (("emacs" "--batch" "-l" "ox-texinfo" "README.org" "--eval" "(setq org-babel-confirm-evaluate-answer-no t)" - "-f" "org-texinfo-export-to-texinfo") - ("makeinfo" "--no-split" "sweep.texi") - ("touch" "dir") - ("install-info" "--dir=dir" "sweep.info")))) + "-f" "org-texinfo-export-to-texinfo")))) (elpaca terraform-mode) (elpaca (vterm :files ("*") -- 2.39.5