about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorCase Duckworth2022-06-09 22:22:54 -0500
committerCase Duckworth2022-06-09 22:22:54 -0500
commita1b8bfca7fd852433cec438b1c98dc24cd86b506 (patch)
tree677b50a51dddd8061291aa379e6016faed947957 /Makefile
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 'Makefile')
-rw-r--r--Makefile18
1 files changed, 0 insertions, 18 deletions
diff --git a/Makefile b/Makefile index 6d9eda9..5967a32 100644 --- a/Makefile +++ b/Makefile
@@ -92,24 +92,6 @@ install: all
92 $(INSTALL) -m 0755 -d $(DESTDIR)$(filterdir) 92 $(INSTALL) -m 0755 -d $(DESTDIR)$(filterdir)
93 $(COPYTREE) filters/* $(DESTDIR)$(filterdir) 93 $(COPYTREE) filters/* $(DESTDIR)$(filterdir)
94 94
95SERVER = root@hetzner
96SERVER_ROOT_DIR = /usr/local/cgit
97SERVER_ROOT = $(SERVER):$(SERVER_ROOT_DIR)
98RSYNC = rsync -auvz
99STATIC_ASSETS = cgit.css cgit.png robots.txt avatar.png favicon.ico
100
101server-install: all
102 $(RSYNC) cgit $(SERVER_ROOT)/bin/cgit.cgi
103 $(RSYNC) $(STATIC_ASSETS) $(SERVER_ROOT)/share/
104 $(RSYNC) cgitrc $(SERVER):/etc/
105 $(RSYNC) cgit-about-filter.sh $(SERVER):/usr/bin/
106 ssh root@hetzner \
107 chown root:root \
108 $(SERVER_ROOT_DIR)/bin/cgit.cgi \
109 $(SERVER_ROOT_DIR)/share/* \
110 /etc/cgitrc \
111 /usr/bin/cgit-about-filter.sh
112
113install-doc: install-man install-html install-pdf 95install-doc: install-man install-html install-pdf
114 96
115install-man: doc-man 97install-man: doc-man