From 2c2f65077b9fb93a341068e53ff1fea548e9ec30 Mon Sep 17 00:00:00 2001 From: Alvoras Date: Sat, 20 Mar 2021 18:32:10 +0100 Subject: [PATCH] Renamed the makefile command used to link all the available rules in rules/rules-available from "default_rules" to the more explicit "enable_all_rules". This command is now scoped on yml files only ("*.yml" instead of "*") as well --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 4131775..0645d58 100644 --- a/Makefile +++ b/Makefile @@ -4,12 +4,12 @@ default: help ## certs : Create TLS certs used by the HTTPS dummy server in "var/https/certs" certs: - mkdir -p var/https/certs + -mkdir -p var/https/certs openssl req -x509 -subj "/C=AU/ST=Some-State/O=Internet Widgits Pty Ltd/CN=localhost" -newkey rsa:4096 -keyout var/https/certs/key.pem -out var/https/certs/cert.pem -days 3650 -nodes -## default_rules : Enable all the rule files present in ./rules/rules-available/ -default_rules: - ln -rs ./rules/rules-available/* ./rules/rules-enabled/ +## enable_all_rules : Enable all the rule files present in ./rules/rules-available/ +enable_all_rules: + ln -rs ./rules/rules-available/*.yml ./rules/rules-enabled/ ## docker_build : Build Docker image docker_build: