From 808f7bb8fe7d53dc44598d16f567440b7eb03e6f Mon Sep 17 00:00:00 2001 From: Jaidyn Levesque <10477760+JadedCtrl@users.noreply.github.com> Date: Wed, 25 Jan 2023 20:02:05 -0600 Subject: [PATCH] Add Makefile, and support for Nemo/Nautilus/Caja --- Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b3f0b0d --- /dev/null +++ b/Makefile @@ -0,0 +1,24 @@ +caja: + cat Maildir.py > MaildirCaja.py + +nemo: + sed 's%caja%nemo%g' Maildir.py | sed 's%Caja%Nemo%g' > MaildirNemo.py + +nautilus: + sed 's%caja%nautilus%g' Maildir.py | sed 's%Caja%Nautilus%g' > MaildirNautilus.py + +install-caja: caja + mkdir -p $$XDG_DATA_HOME/caja-python/extensions/ + cp MaildirCaja.py $$XDG_DATA_HOME/caja-python/extensions/ + +install-nemo: nemo + mkdir -p $$XDG_DATA_HOME/nemo-python/extensions/ + cp MaildirNemo.py $$XDG_DATA_HOME/nemo-python/extensions/ + +install-nautilus: nautilus + mkdir -p $$XDG_DATA_HOME/nautilus-python/extensions/ + cp MaildirNautilus.py $$XDG_DATA_HOME/nautilus-python/extensions/ + +install-all: install-caja install-nemo install-nautilus + +all: caja nemo nautilus