Makefile: use kpackagetool5
This commit is contained in:
6
Makefile
6
Makefile
@@ -1,7 +1,5 @@
|
||||
.PHONY: *
|
||||
|
||||
INSTALL_DIR := ~/.local/share/kwin/scripts/karousel
|
||||
|
||||
config:
|
||||
mkdir -p ./package/contents/config
|
||||
tsc ./src/config/definition.ts ./configgen/kcfg.ts --outFile /dev/stdout | node - > ./package/contents/config/main.xml
|
||||
@@ -10,9 +8,7 @@ build:
|
||||
tsc --outFile ./package/contents/code/main.js
|
||||
|
||||
install: build config
|
||||
mkdir -p ${INSTALL_DIR}
|
||||
rm -r ${INSTALL_DIR}/*
|
||||
cp -r ./package/* ${INSTALL_DIR}
|
||||
kpackagetool5 --type=KWin/Script -i ./package || kpackagetool5 --type=KWin/Script -u ./package
|
||||
|
||||
logs:
|
||||
journalctl -t kwin_x11 -g '^qml:|^file://.*karousel' -f
|
||||
|
||||
Reference in New Issue
Block a user