Update Makefile
This commit is contained in:
parent
e9fb59e7aa
commit
e5d4b89d38
12
Makefile
12
Makefile
@ -3,14 +3,16 @@ all:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
mkdir -p $(DESTDIR)/usr/bin/
|
mkdir -p $(DESTDIR)/usr/bin/
|
||||||
cd generator
|
ls
|
||||||
|
cd ./generator
|
||||||
|
ls
|
||||||
go build -ldflags="-s -w" -o ./generator -buildvcs=false
|
go build -ldflags="-s -w" -o ./generator -buildvcs=false
|
||||||
cd ..
|
cd ..
|
||||||
cd init
|
cd ./init
|
||||||
go build -ldflags="-s -w" -o ./init -buildvcs=false
|
go build -ldflags="-s -w" -o ./init -buildvcs=false
|
||||||
cd ..
|
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"
|
||||||
install -Dp -m644 docs/manpage.1 "$DESTDIR/usr/share/man/man1/booster.1"
|
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 ./init/init "$DESTDIR/usr/lib/booster/init"
|
||||||
|
Loading…
Reference in New Issue
Block a user