mirror of
https://codeberg.org/privacy1st/exec-notify
synced 2024-12-22 23:16:04 +01:00
22 lines
530 B
Makefile
22 lines
530 B
Makefile
|
.PHONY: all install clean copy remove
|
||
|
|
||
|
all: install
|
||
|
|
||
|
clean: remove
|
||
|
|
||
|
install: permissions
|
||
|
|
||
|
permissions: copy
|
||
|
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 execNotify /usr/local/bin/execNotify
|
||
|
cp -r execNotifyDir/ /usr/local/bin/
|
||
|
|
||
|
remove:
|
||
|
rm /usr/local/bin/execNotify
|
||
|
rm -r /usr/local/bin/execNotifyDir
|