minimize disk space, fix build-dep
authorIan Kelling <iank@fsf.org>
Wed, 12 Jun 2024 20:32:08 +0000 (16:32 -0400)
committerIan Kelling <iank@fsf.org>
Wed, 12 Jun 2024 20:32:08 +0000 (16:32 -0400)
emacs

diff --git a/emacs b/emacs
index 142a9800871b62693914b9bd7fdaeaef8215c66f..5770bbd6e540ee6c6c1040ca5be71efaa7d50dd4 100755 (executable)
--- a/emacs
+++ b/emacs
@@ -134,7 +134,7 @@ if $dryrun; then
 fi
 
 if $bootstrap; then
-  m rsync --delete -ra /a/opt/emacs/ $dir
+  m rsync --exclude /.git --delete-excluded -ra /a/opt/emacs/ $dir
   recompile=true
 fi
 
@@ -145,7 +145,7 @@ case $(distro-name) in
     ;;&
   debian|ubuntu|trisquel)
     # todo: unknown for other distros, this will fail
-    logq p -y build-dep maildir-utils
+    logq p -y build-dep maildir-utils/$(debian-archive)
     # oddly, on ubuntu 14.04 this installs postfix, but I dun care
     # ubuntu 14.04 gave this error message
     # Unable to satisfy the build-depends: Build-Depends: libpng-dev
@@ -154,7 +154,7 @@ case $(distro-name) in
     #
     # note, useful command to see build dep packagages:
     # apt-rdepends --build-depends --follow=DEPENDS emacs25
-    logq p -y build-dep $latest_emacs
+    logq p -y build-dep $latest_emacs/$(debian-archive)
     ;;&
 esac