Skip to content

Commit

Permalink
Install into /usr/sbin not /usr/bin
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddrysdale committed Jun 16, 2014
1 parent b9230ba commit d2f1c85
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions casper/Makefile.am
Expand Up @@ -4,7 +4,7 @@ CFLAGS = --pedantic -Wall -O2 -g -I . -I src

lib_LTLIBRARIES = libnv.la libcapsicum.la
noinst_LIBRARIES = libpjdlog.a libcasper.a libgtest.a
bin_PROGRAMS = casperd casper.dns casper.grp casper.pwd casper.random # casper.sysctl
sbin_PROGRAMS = casperd casper.dns casper.grp casper.pwd casper.random # casper.sysctl
noinst_PROGRAMS = casper-test
TESTS = test-wrapper.sh
EXTRA_DIST = test-wrapper.sh etc debian
Expand Down Expand Up @@ -34,13 +34,13 @@ casperdconfdir = ${sysconfdir}/casper
casperdconf_DATA = system.dns system.grp system.pwd system.random
DISTCLEANFILES = system.dns system.grp system.pwd system.random
system.dns:
echo ${bindir}/casper.dns > $@
echo ${sbindir}/casper.dns > $@
system.grp:
echo ${bindir}/casper.grp > $@
echo ${sbindir}/casper.grp > $@
system.pwd:
echo ${bindir}/casper.pwd > $@
echo ${sbindir}/casper.pwd > $@
system.random:
echo ${bindir}/casper.random > $@
echo ${sbindir}/casper.random > $@

casper_dns_SOURCES = src/casper/dns/dns.c
casper_dns_LDADD = libcasper.a libcapsicum.la libnv.la libpjdlog.a $(LIBOBJS)
Expand Down
2 changes: 1 addition & 1 deletion casper/debian/casper0.dirs
@@ -1,3 +1,3 @@
usr/lib
usr/bin
usr/sbin
etc/casper
2 changes: 1 addition & 1 deletion casper/debian/casper0.init
Expand Up @@ -20,7 +20,7 @@
PATH=/sbin:/usr/sbin:/bin:/usr/bin
NAME=casperd
DESC="Casper daemon"
DAEMON=/usr/bin/casperd
DAEMON=/usr/sbin/casperd
DAEMON_ARGS=""
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
Expand Down
2 changes: 1 addition & 1 deletion casper/debian/casper0.install
@@ -1,4 +1,4 @@
usr/lib/*/libcapsicum.so.*
usr/lib/*/libnv.so.*
usr/bin/casper*
usr/sbin/casper*
etc/casper/*

0 comments on commit d2f1c85

Please sign in to comment.