getshows/Makefile

24 lines
529 B
Makefile

frfac:
sed "1d;2i #!`./latest_perl`" frfac.in > frfac
check:
`./latest_perl` -wc frfac.in
perlcritic frfac.in
if which ksh93 > /dev/null 2>&1; then \
ksh93 -n getviaphone; \
else \
ksh -n getviaphone; \
fi
install: frfac
sudo install -o root -g wheel -m 0755 -d /usr/local/bin
sudo install -o root -g wheel -m 0555 frfac /usr/local/bin
sudo install -o root -g wheel -m 0555 getviaphone /usr/local/bin
clean:
rm -f frfac
uninstall:
sudo rm -f /usr/local/bin/frfac
sudo rm -f /usr/local/bin/getviaphone