]> git.eshelyaron.com Git - dotfiles.git/commitdiff
Simplify some Elpaca recipes
authorEshel Yaron <me@eshelyaron.com>
Tue, 22 Aug 2023 07:11:25 +0000 (09:11 +0200)
committerEshel Yaron <me@eshelyaron.com>
Tue, 22 Aug 2023 07:11:25 +0000 (09:11 +0200)
.emacs.d/init.el

index db4aee8487015644ad269f362bc43b3737013ce2..fd7d3d5816605d89036f7747b587bbbadf683791 100644 (file)
 (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)
 (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)
 (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)
                       "--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 ("*")