gronk/Makefile

10 lines
356 B
Makefile
Raw Normal View History

2021-04-30 20:55:13 +00:00
install:
cp n2w_add_uuid.py /usr/local/bin
2023-02-06 14:42:37 +00:00
sed "s/N2W_COMMIT = \"\"/N2W_COMMIT = \"$$(git rev-parse --short HEAD)\"/" notes2web.py > /usr/local/bin/notes2web.py
2021-04-30 20:57:49 +00:00
mkdir -p /opt/notes2web
2024-01-02 18:22:15 +00:00
cp -r templates js css /opt/notes2web
pip3 install -r requirements.txt
2021-04-30 20:55:13 +00:00
2021-04-30 21:01:08 +00:00
uninstall:
rm -rf /usr/local/bin/notes2web.py /usr/local/bin/n2w_add_uuid.py /opt/notes2web