kjv

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit f4ad73539eb73f1890f4b791d8d38dd95900a4a4
parent b92b7622285d10464f9274f11e740bef90705bbc
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sun,  3 Mar 2019 15:57:22 -0500

makefile bloat added

Diffstat:
MMakefile | 18++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,14 +1,24 @@ +PREFIX = /usr/local + kjv: kjv.sh kjv.awk kjv.tsv cat kjv.sh > $@ - echo 'exit 0' >> $@ - echo '#EOF' >> $@ tar cz kjv.awk kjv.tsv >> $@ - chmod +x $@ test: kjv.sh shellcheck -s sh kjv.sh -.PHONY: test +clean: + rm -f kjv + +install: kjv + mkdir -p $(DESTDIR)$(PREFIX)/bin + cp -f kjv $(DESTDIR)$(PREFIX)/bin + chmod 755 $(DESTDIR)$(PREFIX)/bin/kjv + +uninstall: + rm -f $(DESTDIR)$(PREFIX)/bin/kjv + +.PHONY: test clean install uninstall