gor

Plato's Gorgias, at the command line.
git clone git://git.jtobin.io/gor.git
Log | Files | Refs

Makefile (414B)


      1 PREFIX = /usr/local
      2 
      3 gor: gor.sh gor.awk gor.tsv
      4 	cat gor.sh > $@
      5 	echo 'exit 0' >> $@
      6 	echo '#EOF' >> $@
      7 	tar cz gor.awk gor.tsv >> $@
      8 	chmod +x $@
      9 
     10 test: gor.sh
     11 	shellcheck -s sh gor.sh
     12 
     13 clean:
     14 	rm -f gor
     15 
     16 install: gor
     17 	mkdir -p $(DESTDIR)$(PREFIX)/bin
     18 	cp -f gor $(DESTDIR)$(PREFIX)/bin
     19 	chmod 755 $(DESTDIR)$(PREFIX)/bin/gor
     20 
     21 uninstall:
     22 	rm -f $(DESTDIR)$(PREFIX)/bin/gor
     23 
     24 .PHONY: test clean install uninstall