Replace maven wrapper with makefile install

This commit is contained in:
2021-05-30 19:21:09 -05:00
parent 816b95afb6
commit 835e5db92f
3 changed files with 14 additions and 20 deletions

12
desktop/Makefile Normal file
View File

@@ -0,0 +1,12 @@
PREFIX=~/.local
DEST=$(PREFIX)/lib/piecannon
COMMAND=$(PREFIX)/bin/piecannon
target:
mvn install
install: target
mkdir -p $(DEST)
cp target/piecannon-*.jar $(DEST)/piecannon.jar
sed "s#@JAR_PATH@#$(DEST)/piecannon.jar#g" piecannon.in > $(COMMAND)
chmod +x $(COMMAND)