mirror of
https://codeberg.org/privacy1st/exec-notify
synced 2024-12-22 23:16:04 +01:00
25 lines
639 B
Makefile
25 lines
639 B
Makefile
.PHONY: all install clean copy remove
|
|
|
|
all: install
|
|
|
|
clean: remove
|
|
|
|
install: permissions
|
|
|
|
permissions: copy
|
|
chmod 755 /usr/local/bin/notify
|
|
chmod 755 /usr/local/bin/execNotify
|
|
find /usr/local/bin/execNotifyDir \( -type d -exec chmod 755 {} + \) -o \( -type f -exec chmod 644 {} + \)
|
|
chown root:root /usr/local/bin/execNotify
|
|
chown -R root:root /usr/local/bin/execNotifyDir
|
|
|
|
copy:
|
|
cp notify /usr/local/bin/notify
|
|
cp execNotify /usr/local/bin/execNotify
|
|
cp -r execNotifyDir/ /usr/local/bin/
|
|
|
|
remove:
|
|
rm /usr/local/bin/notify
|
|
rm /usr/local/bin/execNotify
|
|
rm -r /usr/local/bin/execNotifyDir
|