@for d in $(POSSIBLE_PAMDIRS);doif[ ! -d $${d}];thencontinue;elseprintf"$${d}\n";fi;done
uninstall:
PAMDIR=$(PAMDIR); rm $${PAMDIR}/pam_panic.so
rm /usr/share/man/*/pam_panic.8.gz
@printf "Done!\n"
install:
PAMDIR=$(PAMDIR);if[ -z $${PAMDIR}];thenprintf"Error: PAM's shared object directory was not detected. If you know where it is, please add to POSSIBLE_PAMDIRS and make a pull request.\n"&&exit 1;else cp build/pam_panic.so $${PAMDIR}/pam_panic.so;fi