URI: 
       makefile - dreadlock-ng - Remote locking daemon with a funny name.
  HTML git clone git://bitreich.org/dreadlock-ng git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dreadlock-ng
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR README
   DIR 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.\n"
           23         @printf "Set a different working directory using server_args = in xinetd file.\n"
           24 
           25 uninstall: 
           26         rm '${DESTDIR}${PREFIX}/bin/${NAME}';
           27         rm /etc/xinetd.d/${NAME}
           28 
           29 .PHONY: all install uninstall
           30