diff options
author | B Stack <bgstack15@gmail.com> | 2020-09-29 22:08:31 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-09-29 22:08:31 -0400 |
commit | 271a0dfcfd2f4f2dd7d9cc0fb9d5a8749cd5d472 (patch) | |
tree | 63f3e472417fd3f2a77624b619e12d7746ef8f42 /src/Makefile | |
parent | WIP: improve rpm packaging, fix desktop files (diff) | |
download | myautomount-271a0dfcfd2f4f2dd7d9cc0fb9d5a8749cd5d472.tar.gz myautomount-271a0dfcfd2f4f2dd7d9cc0fb9d5a8749cd5d472.tar.bz2 myautomount-271a0dfcfd2f4f2dd7d9cc0fb9d5a8749cd5d472.zip |
add sudo rule
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile index 58f89c5..88d5ddd 100644 --- a/src/Makefile +++ b/src/Makefile @@ -84,8 +84,8 @@ install_files: @${echobin} Installing files to ${DESTDIR} for td in $$( ${findbin} ${SRCDIR} -type d ! -name '.*.swp' ! -name 'Makefile' -printf '%P\n' | ${sedbin} -r -e "s:etc/sysconfig:${DEFAULTDIR}:" -e "s:${DESTDIR}/?::" ) ; do ${installbin} -m0755 -d ${DESTDIR}/$${td} ; done for tf in $$( ${findbin} ${SRCDIR} ! -type d ! -type l ! -name '.*.swp' ! -name 'Makefile' ! \( -path '*/man/*' -name '*.txt' \) ! -path '*/sysconfig/*' -printf '%P\n' ) ; do MODE=0644 ; echo "$${tf}" | grep -qE "(bin|libexec|deprecated)\/" && MODE=0755 ; ${installbin} -m$${MODE} ${SRCDIR}/$${tf} ${DESTDIR}/$${tf} ; done - ${lnbin} -s ../../../${APPSDIR_SHORT}/myautomountd.desktop ${XDGAUTODIR}/myautomountd.desktop - ${lnbin} -s ../../../${APPSDIR_SHORT}/myautomount-trayicon.desktop ${XDGAUTODIR}/myautomount-trayicon.desktop + ${lnbin} -sf ../../../${APPSDIR_SHORT}/myautomountd.desktop ${XDGAUTODIR}/myautomountd.desktop + ${lnbin} -sf ../../../${APPSDIR_SHORT}/myautomount-trayicon.desktop ${XDGAUTODIR}/myautomount-trayicon.desktop MAN_TXT:=$(wildcard usr/share/man/man*/*.txt) MAN_GZ:= $(subst .txt,.gz,$(MAN_TXT)) |