Skip to content

Commit

Permalink
Add build of release lha
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Hooper committed Dec 1, 2022
1 parent ae1adbc commit 1b94f6a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -191,4 +191,14 @@ distclean: clean
$(QUIET)rm -f $(PROG) $(PROGU) $(PROGD) $(ROM)
$(QUIET)rm -r $(OBJDIR)

.PHONY: verbose
lha: all
@VER=$$(awk '/define DEVICE_/{if (V != "") print V"."$$NF; else V=$$NF}' version.h) ;\
echo Creating a4091_$$VER.lha ;\
mkdir a4091_$$VER ;\
cp -p $(PROG) $(PROGU) $(PROGD) $(ROM) a4091_$$VER ;\
echo Build $$VER $(DATE) $(TIME) >a4091_$$VER/README.txt ;\
cat dist.README.txt >>a4091_$$VER/README.txt ;\
lha -c a4091_$$VER.lha a4091_$$VER >/dev/null ;\
rm -rf a4091_$$VER

.PHONY: verbose all
9 changes: 9 additions & 0 deletions dist.README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

This is a build of the open source device driver for the
Commodore A4091 SCSI2 controller.

Source repository:
https://github.com/A4091/a4091-software

A4091 SCSI II Host Controller on Github
https://github.com/A4091

0 comments on commit 1b94f6a

Please sign in to comment.