[pacman-contrib] [PATCH] build: re-add dependency link between paccache and size_to_human.sh

Eli Schwartz eschwartz at archlinux.org
Wed Oct 23 13:56:51 UTC 2019


Fixes regression in commit 431e564ed99dcd774e35b0232435e1d6c7f0c30b,
which ported most of lib/ to libmakepkg extensions, but size_to_human is
not part of libmakepkg. An initial version of the patch removed all of
lib/, but when I realized this broke paccache, I re-added size_to_human
to the tree. However, I neglected to add the Makefile dependency back at
the same time, before sending in a 2 AM patchset, and by the time I
noticed this the next morning, it was already merged...

Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
---
 src/Makefile.am | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/Makefile.am b/src/Makefile.am
index 093ae71..8d33be8 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -125,6 +125,9 @@ all-am: $(OURSCRIPTS) $(OURFILES)
 $(BASHSCRIPTS): %: $(srcdir)/%.sh.in
 $(PERLSCRIPTS): %: $(srcdir)/%.pl.in
 
+# dependency links
+paccache: $(top_srcdir)/lib/size_to_human.sh
+
 pacsort_SOURCES = pacsort.c
 pacsort_LDADD = $(LIBARCHIVE_LIBS) $(LIBALPM_LIBS)
 
-- 
2.23.0


More information about the pacman-contrib mailing list