diff --git a/.gitignore b/.gitignore index bee8a64..a5e9bdd 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ __pycache__ +giteapc-config-*.make diff --git a/giteapc.make b/giteapc.make new file mode 100644 index 0000000..6f28424 --- /dev/null +++ b/giteapc.make @@ -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 diff --git a/install.sh b/install.sh index 71b1a78..f00b6f8 100755 --- a/install.sh +++ b/install.sh @@ -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