Update Makefile

This commit is contained in:
ferrreo 2023-08-30 19:50:57 +01:00 committed by GitHub
parent 0e182ced87
commit f93576d7ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,8 +3,6 @@ all:
install:
mkdir -p $(DESTDIR)/usr/bin/
cd ./generator ; go build -trimpath -buildmode=pie -buildvcs=false -mod=readonly -modcacherw -o ./generator
cd ./init ; CGO_ENABLED=0 go build -trimpath -buildvcs=false -mod=readonly -modcacherw -o ./init
ronn docs/manpage.md
@ -13,4 +11,4 @@ install:
install -Dp -m755 ./generator/generator "$(DESTDIR)/usr/bin/booster"
install -Dp -m644 ./docs/manpage.1 "$(DESTDIR)/usr/share/man/man1/booster.1"
install -Dp -m755 ./init/init "$(DESTDIR)/usr/lib/booster/init"
install -Dp -m755 ./update-initramfs "$(DESTDIR)/usr/lib/booster/update-initramfs"
install -Dp -m755 ./update-initramfs "$(DESTDIR)/usr/lib/booster/update-initramfs"