about summary refs log tree commit diff stats
path: root/cgit.conf
diff options
context:
space:
mode:
authorCase Duckworth2022-06-09 22:22:54 -0500
committerCase Duckworth2022-06-09 22:22:54 -0500
commita1b8bfca7fd852433cec438b1c98dc24cd86b506 (patch)
tree677b50a51dddd8061291aa379e6016faed947957 /cgit.conf
parentMerge branch 'master' into configured (diff)
downloadcgit-a1b8bfca7fd852433cec438b1c98dc24cd86b506.tar.gz
cgit-a1b8bfca7fd852433cec438b1c98dc24cd86b506.zip
Move my configured makefile stuff to cgit.conf
I was thinking about keeping cgit.conf ignored and just putting everything in
master, but remembered that I have a bunch of other files in this configured
branch that need to stay too.  So I've un-ignored cgit.conf to keep my changes,
but moved the customizations over there for easier editing.
Diffstat (limited to 'cgit.conf')
-rw-r--r--cgit.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/cgit.conf b/cgit.conf new file mode 100644 index 0000000..fa28168 --- /dev/null +++ b/cgit.conf
@@ -0,0 +1,18 @@
1# -*- makefile -*-
2SERVER = root@hetzner
3SERVER_ROOT_DIR = /usr/local/cgit
4SERVER_ROOT = $(SERVER):$(SERVER_ROOT_DIR)
5RSYNC = rsync -auvz
6STATIC_ASSETS = cgit.css cgit.png robots.txt avatar.png favicon.ico footer.txt
7
8server-install: all
9 $(RSYNC) cgit $(SERVER_ROOT)/bin/cgit.cgi
10 $(RSYNC) $(STATIC_ASSETS) $(SERVER_ROOT)/share/
11 $(RSYNC) cgitrc $(SERVER):/etc/
12 $(RSYNC) cgit-about-filter.sh $(SERVER):/usr/bin/
13 ssh root@hetzner \
14 chown root:root \
15 $(SERVER_ROOT_DIR)/bin/cgit.cgi \
16 $(SERVER_ROOT_DIR)/share/* \
17 /etc/cgitrc \
18 /usr/bin/cgit-about-filter.sh