Introduction
Introduction Statistics Contact Development Disclaimer Help
makefile - dreadlock-ng - Remote locking daemon with a funny name.
git clone git://bitreich.org/dreadlock-ng git://enlrupgkhuxnvlhsf6lc3fziv5h2hhf…
Log
Files
Refs
Tags
README
LICENSE
---
makefile (751B)
---
1 # dreadlocks-ng - a network locking service
2 # See LICENSE file for copyright and license details.
3 .POSIX:
4
5 NAME = dreadlock-ng
6 VERSION = 0.1
7
8 # Customize below to fit your system
9
10 # paths
11 PREFIX = /usr/local
12 SHAREPREFIX = ${PREFIX}/share/${NAME}
13
14 all:
15 @printf "Please try make install or make uninstall.\n"
16
17 install:
18 mkdir -p '${DESTDIR}${PREFIX}/bin'
19 cp ${NAME}.sh '${DESTDIR}${PREFIX}/bin/${NAME}';
20 chmod 755 '${DESTDIR}${PREFIX}/bin/${NAME}'
21 cp ${NAME}.xinetd /etc/xinetd.d/${NAME}
22 @printf "You will need a user dreadlock for the script to work.\…
23 @printf "Set a different working directory using server_args = i…
24
25 uninstall:
26 rm '${DESTDIR}${PREFIX}/bin/${NAME}';
27 rm /etc/xinetd.d/${NAME}
28
29 .PHONY: all install uninstall
30
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.