exec-notify/Makefile

22 lines
530 B
Makefile
Raw Normal View History

2020-12-06 16:40:03 +01:00
.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