Skip to content

Commit

Permalink
FIX: worng path for fake installation
Browse files Browse the repository at this point in the history
  • Loading branch information
gpicchiarelli committed Aug 17, 2019
1 parent bc3e9ed commit 946b66b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ ${NAME}.o: ${NAME}.c

realinstall: all
cp ${DAEMON_NAME} ${LOCALBASE}/etc/rc.d/${DAEMON_NAME}
cp ${NAME} ${LOCALBASE}${BINDIR}${NAME}
cp ${NAME} ${BINDIR}${NAME}
chmod 0555 ${LOCALBASE}/etc/rc.d/${DAEMON_NAME}
chmod 0555 ${LOCALBASE}${BINDIR}${NAME}
chmod 0555 ${BINDIR}${NAME}
rcctl enable ${DAEMON_NAME}
rcctl start ${DAEMON_NAME}

Expand All @@ -29,6 +29,6 @@ clean:
rcctl stop ${DAEMON_NAME}
rcctl disable ${DAEMON_NAME}
rm ${LOCALBASE}/etc/rc.d/${DAEMON_NAME}
rm ${LOCALBASE}${BINDIR}${NAME}
rm ${BINDIR}${NAME}

.include <bsd.prog.mk>

0 comments on commit 946b66b

Please sign in to comment.