esv/Makefile
Judah c39d006fec feat[Make] Copied scripts from kjv
Copied the awk scripts, Makefile from lukesmith's kjv repo
2024-03-04 17:32:08 -05:00

31 lines
455 B
Makefile

##
# esv command line bible
#
PREFIX = /usr/local
esv: esv.sh esv.awk esv.tsv
cat esv.sh > $@
echo 'exit 0' >> $@
echo '#EOF' >> $@
tar czf - esv.awk esv.tsv >> $@
chmod +x $@
test: esv.sh
shellcheck -s sh esv.sh
clean:
rm -f esv
install: esv
mkdir -p $(DESTDIR)$(PREFIX)/bin
cp -f esv $(DESTDIR)$(PREFIX)/bin
chmod 755 $(DESTDIR)$(PREFIX)/bin/esv
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/esv
.PHONY: test clean install uninstall
# end