grafana-sms-alert

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

Makefile (317B)


      1 .DELETE_ON_ERROR:
      2 
      3 default:  unicode-to-gsm.lua
      4 
      5 install: default
      6 	mkdir -p $(TARGET)/lib/
      7 	cp *.{fnl,lua} $(TARGET)/lib
      8 
      9 unicode-to-gsm.lua: GSM0338.TXT
     10 	 sed '/^#/d' <  $^ |awk 'BEGIN {print "return {"} { if($$1 != "#") { print "[" strtonum($$2) "]=" $$1 ", -- " substr($$0, match($$0,$$2)) }} END {print "}"}' >$@