dp

[PL ONLY] Simple and modular daemon
git clone git://git.kocotian.pl/dp.git
Log | Files | Refs | README | LICENSE

commit 25cc35ddb67a04d9bd3bd3e6028543286f102fe1
parent 2b157071fe5c51bbb5cd5c493786ae39529f7c16
Author: kocotian <54662947+kocotian@users.noreply.github.com>
Date:   Sun, 25 Oct 2020 20:45:28 +0100

repair errors
Diffstat:
MMakefile | 13+++++++------
1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,8 +1,8 @@ -CC="gcc" -DESTDIR="/usr/local/" -BINDIR="bin" -DPDIR="share/dp" -MANDIR="man" +CC=gcc +DESTDIR=/usr/local/ +BINDIR=bin +DPDIR=share/dp +MANDIR=man dp: dp.c config.h daemonize.h ${CC} -o $@ $< -Wunused-function -Wunused-label -Wunused-value -Wunused-variable -pedantic -std=c99 @@ -16,9 +16,10 @@ dpmi: dpmi.c config.h all: dp dpm dpmi install: all - mkdir -p ${DESTDIR}${BINDIR} ${DESTDIR}${DPDIR} ${DESTDIR}${MANDIR}/man1 + mkdir -p ${DESTDIR}${BINDIR} ${DESTDIR}${DPDIR} ${DESTDIR}${MANDIR}/man1 ${DESTDIR}${DPDIR}/modules install -Dm 755 dp ${DESTDIR}${BINDIR} install -Dm 755 dpm ${DESTDIR}${BINDIR} install -Dm 755 dpmi ${DESTDIR}${BINDIR} + touch ${DESTDIR}${DPDIR}/modules.csv cp -f dp.1 dpmi.1 ${DESTDIR}${MANDIR}/man1/ dpmi -g fortune sentences covid