Skip to content

Conversation

@reinauer
Copy link
Owner

Add a new 'lha' target that creates an LHA archive containing the
xSysInfo binary, TinySetPatch, documentation, license, and all
compiled catalogs.

The kanji code options (--system-kanji-code and --archive-kanji-code)
are not supported by all lha implementations. Detect support at build
time by checking if the lha help output mentions 'latin1' in the
archive-kanji-code documentation. If supported, use UTF-8 for the
system encoding and Latin-1 for the archive to ensure proper filename
handling on Amiga systems.

Also add 'lha' to .PHONY targets and clean up generated .lha files
in the clean target.

Add a new 'lha' target that creates an LHA archive containing the
xSysInfo binary, TinySetPatch, documentation, license, and all
compiled catalogs.

The kanji code options (--system-kanji-code and --archive-kanji-code)
are not supported by all lha implementations. Detect support at build
time by checking if the lha help output mentions 'latin1' in the
archive-kanji-code documentation. If supported, use UTF-8 for the
system encoding and Latin-1 for the archive to ensure proper filename
handling on Amiga systems.

Also add 'lha' to .PHONY targets and clean up generated .lha files
in the clean target.
@reinauer reinauer merged commit f0c1572 into main Dec 18, 2025
1 check passed
@reinauer reinauer deleted the lha branch December 18, 2025 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants