aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-03-11 12:35:10 -0400
committerB Stack <bgstack15@gmail.com>2020-03-11 12:35:10 -0400
commitbe87206a369b09e595e498504eef1540e2c91c41 (patch)
treee753e64e7ca90b1dc0eab2b6afa4cd92ccab50c3 /src/Makefile
parentadd initial debuild stuff (diff)
downloadlogout-manager-be87206a369b09e595e498504eef1540e2c91c41.tar.gz
logout-manager-be87206a369b09e595e498504eef1540e2c91c41.tar.bz2
logout-manager-be87206a369b09e595e498504eef1540e2c91c41.zip
use alternatives, and actually run commands
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 1ef600d..236f079 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -65,7 +65,9 @@ deplist_opts:
install:
@${echobin} Installing files to ${DESTDIR}
- ${installbin} -d ${SYSCONFDIR} ${DEFAULTDIR} ${BINDIR} ${APPSDIR} ${APPDIR} ${DOCDIR} ${BASHCDIR} ${SUDOERSDIR}
+ ${installbin} -d ${SYSCONFDIR} ${DEFAULTDIR} ${BINDIR} \
+ ${APPSDIR} ${APPDIR} ${DOCDIR} ${BASHCDIR} ${SUDOERSDIR} \
+ ${LIBEXECDIR}/${APPNAME}
${cpbin} -pr ${SRCDIR}/etc/*.* ${SYSCONFDIR}
${cpbin} -pr ${SRCDIR}/etc/sysconfig/* ${DEFAULTDIR}
${cpbin} -pr ${SRCDIR}/usr/bin/* ${BINDIR}
@@ -74,6 +76,7 @@ install:
${cpbin} -pr ${SRCDIR}/usr/share/doc/${APPNAME}/* ${DOCDIR}
${installbin} -m 0644 -t ${BASHCDIR} ${SRCDIR}/usr/share/bash-completion/completions/*
${installbin} -m 0640 -t ${SUDOERSDIR} ${SRCDIR}/etc/sudoers.d/*
+ ${installbin} -m 0755 -t ${LIBEXECDIR}/${APPNAME} ${SRCDIR}/usr/libexec/${APPNAME}/*
# symlink, when alternatives is not being used
${lnbin} -s logout-manager-gtk.py ${BINDIR}/logout-manager
bgstack15