mirror of
https://git.planet-casio.com/Lephenixnoir/GiteaPC.git
synced 2024-12-28 04:23:40 +01:00
bootstrap GiteaPC with itself
This commit is contained in:
parent
78c5d96f95
commit
556277fc3c
3 changed files with 22 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
__pycache__
|
||||
giteapc-config-*.make
|
||||
|
|
19
giteapc.make
Normal file
19
giteapc.make
Normal file
|
@ -0,0 +1,19 @@
|
|||
# giteapc: version=1
|
||||
|
||||
ifneq ($(GITEAPC_CONFIG),)
|
||||
include giteapc-config-$(GITEAPC_CONFIG).make
|
||||
endif
|
||||
|
||||
configure:
|
||||
@ true
|
||||
|
||||
build:
|
||||
@ true
|
||||
|
||||
install:
|
||||
@ make install
|
||||
|
||||
uninstall:
|
||||
@ make uninstall
|
||||
|
||||
.PHONY: configure build install uninstall
|
|
@ -10,10 +10,9 @@ cd "$(mktemp -d)"
|
|||
curl "$URL" -o giteapc-master.tar.gz
|
||||
tar -xzf giteapc-master.tar.gz && cd giteapc
|
||||
|
||||
# Install the program itself (not to $PREFIX, which is for programs installed
|
||||
# by GiteaPC)
|
||||
# Bootstrap the program by installing it with iself (allowing updates)
|
||||
|
||||
make install
|
||||
python3 giteapc.py install Lephenixnoir/GiteaPC
|
||||
|
||||
# Check whether the bin folder is already in the PATH
|
||||
|
||||
|
|
Loading…
Reference in a new issue