geml/Makefile

37 lines
767 B
Makefile
Raw Normal View History

2023-08-01 19:41:08 +00:00
bin/geml-server: src/*.lisp
mkdir -p bin
sbcl --no-userinit --no-sysinit --non-interactive \
--load ~/quicklisp/setup.lisp \
--load build.lisp
clean:
-rm bin/geml-server
install: bin/geml-server
2023-08-01 20:14:16 +00:00
id -u geml &>/dev/null || useradd geml --system
install \
--target-directory /usr/local/bin/ \
--mode 744 \
--owner geml \
--group geml \
bin/geml-server
install \
--target-directory /etc/systemd/system/ \
--mode 644 \
--owner geml \
--group geml \
geml.service
mkdir -p /etc/geml/
install \
--target-directory /etc/geml/ \
--owner geml \
--group geml \
--mode 644 \
2023-08-02 08:00:59 +00:00
geml.example.ini
2023-08-01 19:41:08 +00:00
uninstall:
2023-08-01 20:14:16 +00:00
id -u geml &>/dev/null && userdel geml
2023-08-01 19:41:08 +00:00
rm /usr/local/bin/geml-server
2023-08-01 20:14:16 +00:00
rm /etc/systemd/system/geml.service
rm -rf /etc/geml/