mirror of
https://github.com/imgurbot12/rmenu.git
synced 2025-01-12 23:36:29 +01:00
25 lines
514 B
Makefile
25 lines
514 B
Makefile
|
# RMenu Installation/Deployment Configuration
|
||
|
|
||
|
CARGO=cargo
|
||
|
FLAGS=--release
|
||
|
|
||
|
DEST=$(HOME)/.config/rmenu
|
||
|
|
||
|
install: build deploy
|
||
|
|
||
|
deploy:
|
||
|
mkdir -p ${DEST}
|
||
|
cp -vf ./target/release/desktop ${DEST}/drun
|
||
|
cp -vf ./target/release/run ${DEST}/run
|
||
|
cp -vf ./rmenu/public/config.yaml ${DEST}/config.yaml
|
||
|
cp -vf ./rmenu/public/default.css ${DEST}/style.css
|
||
|
|
||
|
build: build-rmenu build-plugins
|
||
|
|
||
|
build-rmenu:
|
||
|
${CARGO} build -p rmenu ${FLAGS}
|
||
|
|
||
|
build-plugins:
|
||
|
${CARGO} build -p run ${FLAGS}
|
||
|
${CARGO} build -p desktop ${FLAGS}
|