Browse Source

bootstrap GiteaPC with itself

master
Lephenixnoir 4 months ago
parent
commit
556277fc3c
Signed by: Lephenixnoir GPG Key ID: 1BBA026E13FC0495
3 changed files with 22 additions and 3 deletions
  1. +1
    -0
      .gitignore
  2. +19
    -0
      giteapc.make
  3. +2
    -3
      install.sh

+ 1
- 0
.gitignore View File

@ -1 +1,2 @@
__pycache__
giteapc-config-*.make

+ 19
- 0
giteapc.make View 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

+ 2
- 3
install.sh View File

@ -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…
Cancel
Save