add Makefile
This commit is contained in:
parent
e1c8128d02
commit
2b1095760f
20
Makefile
Normal file
20
Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
|
||||
PREFIX=/usr
|
||||
|
||||
install:
|
||||
install -Dm 644 nnss-ssh@.service -t "$(PREFIX)/lib/systemd/system"
|
||||
install -Dm 644 nnssA@.service -t "$(PREFIX)/lib/systemd/system"
|
||||
install -Dm 644 nnssB@.service -t "$(PREFIX)/lib/systemd/system"
|
||||
install -Dm 644 ssh_config -t "$(PREFIX)/lib/nnss"
|
||||
install -Dm 755 tunsocks.sh -t "$(PREFIX)/lib/nnss"
|
||||
install -Dm 644 README.md -t "$(PREFIX)/share/doc/nnss"
|
||||
install -Dm 644 LICENSE -t "$(PREFIX)/share/doc/nnss"
|
||||
install -Dm 644 tmpfiles.conf "$(PREFIX)/lib/tmpfiles.d/nnss.conf"
|
||||
|
||||
uninstall:
|
||||
rm -rf "$(PREFIX)/lib/nnss" \
|
||||
"$(PREFIX)/share/doc/nnss" \
|
||||
"$(PREFIX)/lib/tmpfiles.d/nnss.conf" \
|
||||
"$(PREFIX)/lib/systemd/system/nnssA@.service" \
|
||||
"$(PREFIX)/lib/systemd/system/nnssB@.service" \
|
||||
"$(PREFIX)/lib/systemd/system/nnss-ssh@.service"
|
Loading…
x
Reference in New Issue
Block a user