Subversion Repositories Koakuma

Rev

Rev 12 | Rev 17 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 12 Rev 13
Line 1... Line 1...
1
# $Id: Makefile 12 2024-10-02 03:25:33Z nishi $
1
# $Id: Makefile 13 2024-10-02 06:39:33Z nishi $
2
 
2
 
3
PREFIX = /usr/local
3
PREFIX = /usr/local
4
REPLACE = sed "s%@@PREFIX@@%$(PREFIX)%g"
4
REPLACE = sed "s%@@PREFIX@@%$(PREFIX)%g"
5
 
5
 
6
.PHONY: install
6
.PHONY: install
Line 20... Line 20...
20
	$(REPLACE) Tool/create-project.in > $(PREFIX)/bin/create-project
20
	$(REPLACE) Tool/create-project.in > $(PREFIX)/bin/create-project
21
	$(REPLACE) Tool/launch-job.in > $(PREFIX)/bin/launch-job
21
	$(REPLACE) Tool/launch-job.in > $(PREFIX)/bin/launch-job
22
	cp -rf Static/* $(PREFIX)/lib/koakuma/htdocs/static/
22
	cp -rf Static/* $(PREFIX)/lib/koakuma/htdocs/static/
23
	$(REPLACE) koakuma.cgi.in > $(PREFIX)/lib/koakuma/cgi-bin/koakuma.cgi
23
	$(REPLACE) koakuma.cgi.in > $(PREFIX)/lib/koakuma/cgi-bin/koakuma.cgi
24
	$(REPLACE) apache.conf.in > $(PREFIX)/etc/koakuma/apache.conf
24
	$(REPLACE) apache.conf.in > $(PREFIX)/etc/koakuma/apache.conf
-
 
25
	cp cgi.conf $(PREFIX)/etc/koakuma/
25
	chmod +x $(PREFIX)/lib/koakuma/cgi-bin/koakuma.cgi
26
	chmod +x $(PREFIX)/lib/koakuma/cgi-bin/koakuma.cgi
26
	chmod +x $(PREFIX)/bin/create-project
27
	chmod +x $(PREFIX)/bin/create-project
27
	chmod +x $(PREFIX)/bin/launch-job
28
	chmod +x $(PREFIX)/bin/launch-job
28
	@echo
29
	@echo
29
	@echo Make sure $(PREFIX)/lib/koakuma/db is writable by your HTTPd user.
30
	@echo Make sure $(PREFIX)/lib/koakuma/db is writable by your HTTPd user.