build: Create limine directory inside share directory and copy over LICENSE.md to binary releases

This commit is contained in:
mintsuki 2021-03-21 10:59:32 +01:00
parent 04bef1ce1a
commit 0579a19d6f
3 changed files with 15 additions and 10 deletions

View File

@ -76,6 +76,9 @@ jobs:
- name: Copy limine-install to bin
run: cp limine-install/* bin/
- name: Copy LICENSE to bin
run: cp LICENSE.md bin/
- name: Push binaries to binary branch
run: |
git config user.name 'mintsuki'

View File

@ -23,11 +23,12 @@ install: all
install -d $(DESTDIR)$(PREFIX)/bin
install -s bin/limine-install $(DESTDIR)$(PREFIX)/bin/
install -d $(DESTDIR)$(PREFIX)/share
install -m 644 bin/limine.sys $(DESTDIR)$(PREFIX)/share/
install -m 644 bin/limine-cd.bin $(DESTDIR)$(PREFIX)/share/
install -m 644 bin/limine-eltorito-efi.bin $(DESTDIR)$(PREFIX)/share/
install -m 644 bin/limine-pxe.bin $(DESTDIR)$(PREFIX)/share/
install -m 644 bin/BOOTX64.EFI $(DESTDIR)$(PREFIX)/share/
install -d $(DESTDIR)$(PREFIX)/share/limine
install -m 644 bin/limine.sys $(DESTDIR)$(PREFIX)/share/limine/
install -m 644 bin/limine-cd.bin $(DESTDIR)$(PREFIX)/share/limine/
install -m 644 bin/limine-eltorito-efi.bin $(DESTDIR)$(PREFIX)/share/limine/
install -m 644 bin/limine-pxe.bin $(DESTDIR)$(PREFIX)/share/limine/
install -m 644 bin/BOOTX64.EFI $(DESTDIR)$(PREFIX)/share/limine/
limine-bios: stage23-bios decompressor
mkdir -p bin

View File

@ -16,11 +16,12 @@ install: all
install -d $(DESTDIR)$(PREFIX)/bin
install -s limine-install $(DESTDIR)$(PREFIX)/bin/
install -d $(DESTDIR)$(PREFIX)/share
install -m 644 limine.sys $(DESTDIR)$(PREFIX)/share/
install -m 644 limine-cd.bin $(DESTDIR)$(PREFIX)/share/
install -m 644 limine-eltorito-efi.bin $(DESTDIR)$(PREFIX)/share/
install -m 644 limine-pxe.bin $(DESTDIR)$(PREFIX)/share/
install -m 644 BOOTX64.EFI $(DESTDIR)$(PREFIX)/share/
install -d $(DESTDIR)$(PREFIX)/share/limine
install -m 644 limine.sys $(DESTDIR)$(PREFIX)/share/limine/
install -m 644 limine-cd.bin $(DESTDIR)$(PREFIX)/share/limine/
install -m 644 limine-eltorito-efi.bin $(DESTDIR)$(PREFIX)/share/limine/
install -m 644 limine-pxe.bin $(DESTDIR)$(PREFIX)/share/limine/
install -m 644 BOOTX64.EFI $(DESTDIR)$(PREFIX)/share/limine/
clean:
rm -f limine-hdd.o limine-install limine-install.exe