build: re-add dependency link between paccache and size_to_human.sh

Message ID 20191023135651.830150-1-eschwartz@archlinux.org
State Accepted
Headers show
Series build: re-add dependency link between paccache and size_to_human.sh | expand

Commit Message

Eli Schwartz Oct. 23, 2019, 1:56 p.m. UTC
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@archlinux.org>
---
 src/Makefile.am | 3 +++
 1 file changed, 3 insertions(+)

Patch

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)