Update Makefile

This commit is contained in:
ferrreo 2023-08-30 19:24:10 +01:00 committed by GitHub
parent 017727216e
commit 32a6c569f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,8 +3,10 @@ all:
install: install:
mkdir -p $(DESTDIR)/usr/bin/ mkdir -p $(DESTDIR)/usr/bin/
cd ./generator ; go build -ldflags="-s -w" -o ./generator -buildvcs=false
cd ./init ; go build -ldflags="-s -w" -o ./init -buildvcs=false
cd ./generator ; go build -trimpath -buildmode=pie -mod=readonly -modcacherw -o ./generator -buildvcs=false
cd ./init ; CGO_ENABLED=0 go build -trimpath -mod=readonly -modcacherw ./init -buildvcs=false
ronn docs/manpage.md ronn docs/manpage.md
mkdir "$(DESTDIR)/etc/" mkdir "$(DESTDIR)/etc/"
touch "$(DESTDIR)/etc/booster.yaml" touch "$(DESTDIR)/etc/booster.yaml"