2023-08-30 19:51:55 +02:00
|
|
|
all:
|
|
|
|
true
|
|
|
|
|
|
|
|
install:
|
|
|
|
mkdir -p $(DESTDIR)/usr/bin/
|
2023-08-30 20:24:10 +02:00
|
|
|
|
|
|
|
|
2023-08-30 20:27:20 +02:00
|
|
|
cd ./generator ; go build -trimpath -buildmode=pie -buildvcs=false -mod=readonly -modcacherw -o ./generator
|
2023-08-30 20:28:37 +02:00
|
|
|
cd ./init ; CGO_ENABLED=0 go build -trimpath -buildvcs=false -mod=readonly -modcacherw -o ./init
|
2023-08-30 20:11:33 +02:00
|
|
|
ronn docs/manpage.md
|
2023-08-30 20:06:37 +02:00
|
|
|
mkdir "$(DESTDIR)/etc/"
|
|
|
|
touch "$(DESTDIR)/etc/booster.yaml"
|
|
|
|
install -Dp -m755 ./generator/generator "$(DESTDIR)/usr/bin/booster"
|
|
|
|
install -Dp -m644 ./docs/manpage.1 "$(DESTDIR)/usr/share/man/man1/booster.1"
|
2023-08-30 20:17:08 +02:00
|
|
|
install -Dp -m755 ./init/init "$(DESTDIR)/usr/lib/booster/init"
|
2023-08-30 20:47:16 +02:00
|
|
|
install -Dp -m755 ./update-initramfs "$(DESTDIR)/usr/lib/booster/update-initramfs"
|