Update Makefile
This commit is contained in:
parent
e5d4b89d38
commit
73f1f836bd
10
Makefile
10
Makefile
@ -3,14 +3,8 @@ all:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
mkdir -p $(DESTDIR)/usr/bin/
|
mkdir -p $(DESTDIR)/usr/bin/
|
||||||
ls
|
cd ./generator ; go build -ldflags="-s -w" -o ./generator -buildvcs=false
|
||||||
cd ./generator
|
cd ./init ; go build -ldflags="-s -w" -o ./init -buildvcs=false
|
||||||
ls
|
|
||||||
go build -ldflags="-s -w" -o ./generator -buildvcs=false
|
|
||||||
cd ..
|
|
||||||
cd ./init
|
|
||||||
go build -ldflags="-s -w" -o ./init -buildvcs=false
|
|
||||||
cd ..
|
|
||||||
mkdir "$DESTDIR/etc/"
|
mkdir "$DESTDIR/etc/"
|
||||||
touch "$DESTDIR/etc/booster.yaml"
|
touch "$DESTDIR/etc/booster.yaml"
|
||||||
install -Dp -m755 ./generator/generator "$DESTDIR/usr/bin/booster"
|
install -Dp -m755 ./generator/generator "$DESTDIR/usr/bin/booster"
|
||||||
|
Loading…
Reference in New Issue
Block a user