add GiteaPC support

This commit is contained in:
Lephenixnoir 2021-01-14 10:47:06 +01:00
parent e2ba617405
commit 802ba12e5e
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495
2 changed files with 27 additions and 0 deletions

4
.gitignore vendored
View file

@ -15,3 +15,7 @@ doc/
# Python cache
__pycache__
# Configuration files for custom builds using GiteaPC
/giteapc-config.make
/giteapc-config-*.make

23
giteapc.make Normal file
View file

@ -0,0 +1,23 @@
# giteapc: version=1
# Parameters for custom configurations:
# PREFIX Install prefix
# FXSDK_CONFIGURE Configure options (see ./configure --help)
PREFIX ?= $(GITEAPC_PREFIX)
-include giteapc-config.make
configure:
@ ./configure --prefix=$(PREFIX) $(FXSDK_CONFIGURE)
build:
@ make all
install:
@ make install
uninstall:
@ make uninstall
.PHONY: configure build install uninstall