summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e10a476..d88caf7 100644
--- a/Makefile
+++ b/Makefile
@@ -13,6 +13,7 @@ DAEMON_SRCS = \
src/client.c \
src/log.c \
src/log_tail.c \
+ src/filter.c \
src/console/rcon.c \
src/console/a2s.c
@@ -38,6 +39,7 @@ umbrella-cli: $(CLI_OBJS)
PREFIX ?= /usr/local
CONF_DIR = /etc/umbrella
UNITS_DIR = /etc/umbrella/units
+FILTER_DIR = /usr/lib/umbrella/filters
RUN_DIR = /run/umbrella
LOG_DIR = /var/log/umbrella
@@ -48,6 +50,10 @@ install: all
install -dm755 $(UNITS_DIR)
install -dm755 $(RUN_DIR)
install -dm755 $(LOG_DIR)
+ install -dm755 $(FILTER_DIR)
+ install -Dm755 filters/source.py $(FILTER_DIR)/source.py
+ install -Dm755 filters/minecraft.py $(FILTER_DIR)/minecraft.py
+ install -Dm755 filters/terraria.py $(FILTER_DIR)/terraria.py
@if [ ! -f $(CONF_DIR)/umbrella.conf ]; then \
install -Dm644 umbrella.conf.example $(CONF_DIR)/umbrella.conf; \
echo "Installed default config to $(CONF_DIR)/umbrella.conf"; \