aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 2241dba653bd3177928731cafb9f168f645a111f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
submodules = gxfr dnsrecon bxfr whatweb
security_modules = subdomains revip whatweb

all: init all-mods

init: init-submodules $(submodules)
init-submodules: 
	cd ..;git submodule init; git submodule update
$(submodules):
	cd repos/$@ ; git checkout master;git pull

all-mods: $(addprefix public_commands/,$(security_modules))
public_commands/%:commands/%
	ln -s ../$< $@

debian-autostart:
	useradd reaktor ||:
	cp startup/init.d/reaktor-debian /etc/init.d/reaktor
	cp startup/conf.d/reaktor /etc/default/
	update-rc.d reaktor defaults
supervisor-autostart:
	useradd reaktor ||:
	cp startup/supervisor/Reaktor.conf /etc/supervisor/conf.d/