forked from mirrors/treebird
Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
8ab015670b
commit
5a6d8fe9d7
2 changed files with 12 additions and 2 deletions
10
.drone.yml
Normal file
10
.drone.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
kind: pipeline
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: Build
|
||||
image: gcc
|
||||
commands:
|
||||
- apt update && apt install -y libcjson-dev libpcre3-dev libfcgi-dev
|
||||
- cp config.def.h config.h
|
||||
- make
|
4
Makefile
4
Makefile
|
@ -16,7 +16,7 @@ DIST = dist/
|
|||
PREFIX ?= /usr/local
|
||||
TARGET = treebird
|
||||
|
||||
MASTODONT_URL = https://fossil.nekobit.net/mastodont-c
|
||||
MASTODONT_URL = https://git.froth.zone/mirrors/mastodont-c
|
||||
|
||||
all: $(MASTODONT_DIR) dep_build $(TARGET)
|
||||
apache: all apache_start
|
||||
|
@ -40,7 +40,7 @@ $(PAGES_DIR)/%.ctmpl: $(PAGES_DIR)/%.tmpl
|
|||
./template $< $(notdir $*) 2> $(PAGES_DIR)/$(notdir $*).c 1> $@
|
||||
|
||||
$(MASTODONT_DIR):
|
||||
cd ..; fossil clone $(MASTODONT_URL) || true
|
||||
cd ..; git clone $(MASTODONT_URL) || true
|
||||
cd treebird; ln -s ../mastodont-c .
|
||||
|
||||
install: $(TARGET)
|
||||
|
|
Loading…
Reference in a new issue