This repository has been archived on 2024-01-02. You can view files and clone it, but cannot push or open issues or pull requests.
notes2web/Makefile

17 lines
596 B
Makefile
Raw Permalink 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
pip3 install -r requirements.txt --break-system-packages
2021-04-30 20:57:49 +00:00
mkdir -p /opt/notes2web
cp -r templates /opt/notes2web
cp styles.css /opt/notes2web
2021-08-19 13:43:42 +00:00
cp fuse.js /opt/notes2web
cp search.js /opt/notes2web
2023-02-16 17:20:17 +00:00
cp indexsearch.js /opt/notes2web
2021-12-22 21:16:09 +00:00
cp toc_search.js /opt/notes2web
cp permalink.js /opt/notes2web
chmod +x /usr/local/bin/notes2web.py
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