19 lines
424 B
Makefile
19 lines
424 B
Makefile
|
install:
|
||
|
mkdir -p ${HOME}/.local/bin
|
||
|
mkdir -p ${HOME}/.config/systemd/user
|
||
|
install -m 700 ./mms2mail ${HOME}/.local/bin/
|
||
|
install -m 755 ./mms2mail.service ${HOME}/.config/systemd/user/
|
||
|
systemctl --user daemon-reload
|
||
|
|
||
|
configure:
|
||
|
systemctl --user enable mms2mail
|
||
|
|
||
|
start:
|
||
|
systemctl --user start mms2mail
|
||
|
|
||
|
deb-deps:
|
||
|
sudo apt install python3-pydbus python3-aiosmtpd
|
||
|
|
||
|
pypy-deps:
|
||
|
pip install --user -r requirements.txt
|