aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-03-20 23:31:47 +0000
committerB Stack <bgstack15@gmail.com>2020-03-20 23:31:47 +0000
commitde27241bd617ac3a37fdd1511d173743704e615e (patch)
tree4521e58dbb6f7a057dd5fde71b4230b115b8b326 /src/Makefile
parentMerge branch 'add-ncurses' into 'master' (diff)
parentmove debian/ to stackrpms (diff)
downloadlogout-manager-de27241bd617ac3a37fdd1511d173743704e615e.tar.gz
logout-manager-de27241bd617ac3a37fdd1511d173743704e615e.tar.bz2
logout-manager-de27241bd617ac3a37fdd1511d173743704e615e.zip
Merge branch 'add-trayicon' into 'master'
release 0.0.2 Closes #1 See merge request bgstack15/logout-manager!2
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