control: tags -1 patch

On Tue, 13 May 2025, 20:23 Lucas Nussbaum, <lu...@debian.org> wrote:
>
> This package fails to build with make --shuffle=reverse.

confirmed: in Makefile.in the install target depends on installdirs
installbinaries installconfig installmanpages
but each install<thing> should depend on installdirs as each needs
(some of the) directories created by installdirs

The attached patch should fix this - you could also move the relevant
code out of installdirs into each install<thing>
diff --git a/Makefile.in b/Makefile.in
index 86ab714..34a72e7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -226,13 +226,13 @@ installdirs:
 	  chmod 755 $(DESTDIR)$(TIGERMANDIR)/man8; \
 	fi
 
-installmanpages:
+installmanpages: installdirs
 	@echo "Copying manpages..."
 	$(INSTALL) -m 0444 man/tiger.8 $(DESTDIR)$(TIGERMANDIR)/man8
 	$(INSTALL) -m 0444 man/tigexp.8 $(DESTDIR)$(TIGERMANDIR)/man8
 	$(INSTALL) -m 0444 man/tigercron.8 $(DESTDIR)$(TIGERMANDIR)/man8
 
-installbinaries:
+installbinaries: installdirs
 	@echo "Copying binaries..."
 	@for file in $(BINARIES); do \
 	   sed -e 's%^TigerLogDir=.*$$%TigerLogDir="'$(TIGERLOGS)'"%' \
@@ -244,7 +244,7 @@ installbinaries:
 	  chmod 755 $(DESTDIR)$(TIGERBIN)/$$file ; \
 	done
 
-installconfig:
+installconfig: installdirs
 	@echo "Copying configuration files..."
 	@for file in $(CONFIGFILES); do \
 	  $(INSTALL) -m 0640 $$file $(DESTDIR)$(TIGERCONFIG)/$$file; \

Reply via email to