aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-03-20 15:27:14 -0400
committerB Stack <bgstack15@gmail.com>2020-03-20 15:27:14 -0400
commitc0d4662bb3ee8a9ab2cb85dc6870f00a478d64da (patch)
tree93d9c57b0ad16fad30d3421ef4ce96b3ef46097c /src/Makefile
parentadd alternative trayicon shell script (diff)
downloadlogout-manager-c0d4662bb3ee8a9ab2cb85dc6870f00a478d64da.tar.gz
logout-manager-c0d4662bb3ee8a9ab2cb85dc6870f00a478d64da.tar.bz2
logout-manager-c0d4662bb3ee8a9ab2cb85dc6870f00a478d64da.zip
add lm trayicon, and fix #1
Add program, its menu entry, and xdg autostart entry (disabled) Fix #1: cli executes valid command but still shows help message
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 96607d2..010b71e 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -18,7 +18,7 @@
# Dependencies:
APPNAME = logout-manager
-APPVERSION = 0.0.1
+APPVERSION = 0.0.2
SRCDIR = $(CURDIR)
prefix = /usr
SYSCONFDIR = $(DESTDIR)/etc
@@ -32,6 +32,7 @@ APPDIR = $(SHAREDIR)/$(APPNAME)
APPSDIR = $(SHAREDIR)/applications
BASHCDIR = $(SHAREDIR)/bash-completion/completions
SUDOERSDIR = $(SYSCONFDIR)/sudoers.d
+XDGAUTODIR = $(SYSCONFDIR)/xdg/autostart
awkbin :=$(shell which awk)
cpbin :=$(shell which cp)
@@ -67,7 +68,7 @@ install:
@${echobin} Installing files to ${DESTDIR}
${installbin} -d ${SYSCONFDIR} ${DEFAULTDIR} ${BINDIR} \
${APPSDIR} ${APPDIR} ${DOCDIR} ${BASHCDIR} ${SUDOERSDIR} \
- ${LIBEXECDIR}/${APPNAME}
+ ${LIBEXECDIR}/${APPNAME} ${XDGAUTODIR}
${cpbin} -pr ${SRCDIR}/etc/*.* ${SYSCONFDIR}
${cpbin} -pr ${SRCDIR}/etc/sysconfig/* ${DEFAULTDIR}
${cpbin} -pr ${SRCDIR}/usr/bin/* ${BINDIR}
@@ -77,6 +78,7 @@ install:
${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}/*
+ ${installbin} -m 0644 -t ${XDGAUTODIR} ${SRCDIR}/etc/xdg/autostart/*
# symlink, when alternatives is not being used
${lnbin} -s logout-manager-gtk.py ${BINDIR}/logout-manager
bgstack15