From f64b99689973c43a261b0b38ffeb9b0ba9a59412 Mon Sep 17 00:00:00 2001 From: nhmall Date: Sun, 10 May 2026 10:33:20 -0400 Subject: [PATCH] optional package sequencer for building binary Add Makefile support for an optional AMIGPKGSEQ to append a suffix to the Amiga binary, without having to rename the zip file manually after the make CROSS_TO_AMIGA=1 package step. --- sys/unix/hints/include/cross-post.500 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/unix/hints/include/cross-post.500 b/sys/unix/hints/include/cross-post.500 index 512906d8f..73ba215d7 100644 --- a/sys/unix/hints/include/cross-post.500 +++ b/sys/unix/hints/include/cross-post.500 @@ -330,8 +330,8 @@ amigapkg: $(AMITILES) ../util/uudecode ( cd $(TARGETPFX)pkg/NetHack && ../../../../util/uudecode ../../../../sys/amiga/readme-info.uu ) ( cd $(TARGETPFX)pkg && ../../../util/uudecode ../../../sys/amiga/drawer-info.uu ) touch $(TARGETPFX)pkg/NetHack/record - ( cd $(TARGETPFX)pkg && zip -9r ../NH$(NHV)AMI.ZIP NetHack NetHack.info ) - @echo amiga package zip file $(TARGETPFX)NH$(NHV)AMI.ZIP + ( cd $(TARGETPFX)pkg && zip -9r ../NH$(NHV)AMI$(AMIPKGSEQ).ZIP NetHack NetHack.info ) + @echo amiga package zip file $(TARGETPFX)NH$(NHV)AMI$(AMIPKGSEQ).ZIP endif # CROSS_TO_AMIGA ifdef CROSS_SHARED