mirror of
https://git.planet-casio.com/Lephenixnoir/GiteaPC.git
synced 2024-12-28 04:23:40 +01:00
16 lines
467 B
Makefile
16 lines
467 B
Makefile
PREFIX ?= $(HOME)/.local
|
|
VERSION = 1.0
|
|
|
|
install: $(bin)
|
|
install -d $(PREFIX)/bin
|
|
sed -e 's*%PREFIX%*$(PREFIX)*; s*%VERSION%*$(VERSION)*' giteapc.py > $(PREFIX)/bin/giteapc
|
|
chmod +x $(PREFIX)/bin/giteapc
|
|
install -d $(PREFIX)/lib/giteapc/giteapc
|
|
install giteapc/*.py $(PREFIX)/lib/giteapc/giteapc
|
|
|
|
uninstall:
|
|
rm -f $(PREFIX)/bin/giteapc
|
|
rm -rf $(PREFIX)/lib/giteapc
|
|
@ echo "note: repositories cloned by GiteaPC have not been removed"
|
|
|
|
.PHONY: install uninstall
|