aboutsummaryrefslogtreecommitdiff
path: root/plugins/plugins.mk
diff options
context:
space:
mode:
authorNunoSempere <nuno.semperelh@protonmail.com>2024-03-14 19:31:04 -0300
committerNunoSempere <nuno.semperelh@protonmail.com>2024-03-14 19:31:04 -0300
commitaf208844b575edb6ce9205507289a00743a8bf4e (patch)
treec36ebd9e175a4d60a1b31d0f94f085a9d1f90aae /plugins/plugins.mk
parent878d6a890bdc1a8381b0c44c80c36d829cc28fc1 (diff)
reorg makefile and make runtime locations less messy
In particular, stop using the installation directory for anything and instead move to /opt/rosenrot The user specific cache remains at /home/user/.cache
Diffstat (limited to 'plugins/plugins.mk')
-rw-r--r--plugins/plugins.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/plugins/plugins.mk b/plugins/plugins.mk
new file mode 100644
index 0000000..f95cac7
--- /dev/null
+++ b/plugins/plugins.mk
@@ -0,0 +1,14 @@
+## Plugins
+CUSTOM_STYLES=./plugins/style/style.c
+SHORTCUTS=./plugins/shortcuts/shortcuts.c
+READABILITY=./plugins/readability/readability.c
+LIBRE_REDIRECT=./plugins/libre_redirect/libre_redirect.c ./plugins/libre_redirect/str_replace_start.c ./plugins/libre_redirect/str_init.c
+
+ADBLOCK='-L/usr/lib/wyebrowser/adblock.so' # optional adblocking; depends on https://github.com/jun7/wyebadblock
+
+STAND_IN=./plugins/stand_in/stand_in.c # gives function definitions for the above, which do nothing
+
+PLUGINS=$(CUSTOM_STYLES) $(SHORTCUTS) $(READABILITY) $(LIBRE_REDIRECT)
+# PLUGINS=$(STAND_IN)
+
+