diff options
author | B Stack <bgstack15@gmail.com> | 2020-03-20 15:27:14 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-04-02 09:06:38 -0400 |
commit | 9938ce0de63ae8ea780daed3d6551832cb48c96b (patch) | |
tree | 93d9c57b0ad16fad30d3421ef4ce96b3ef46097c /src/Makefile | |
parent | add alternative trayicon shell script (diff) | |
download | logout-manager-9938ce0de63ae8ea780daed3d6551832cb48c96b.tar.gz logout-manager-9938ce0de63ae8ea780daed3d6551832cb48c96b.tar.bz2 logout-manager-9938ce0de63ae8ea780daed3d6551832cb48c96b.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/Makefile | 6 |
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 |