contact-qr

create a QR code with a contact card file (.vcf)
git clone git://src.adamsgaard.dk/contact-qr # fast
git clone https://src.adamsgaard.dk/contact-qr.git # slow
Log | Files | Refs Back to index

Makefile (281B)


      1 .POSIX:
      2 
      3 UPLOAD = ${HOME}/bin/upload
      4 OUTPUT ?= $(USER)
      5 
      6 all: ${OUTPUT}.vcf
      7 
      8 ${OUTPUT}.vcf: contact-qr.sh
      9 	./contact-qr.sh ${OUTPUT}
     10 
     11 upload: all
     12 	${UPLOAD} ${OUTPUT}.vcf ${OUTPUT}.png ${OUTPUT}.svg
     13 
     14 clean:
     15 	rm -f ${OUTPUT}.vcf ${OUTPUT}.png ${OUTPUT}.svg
     16 
     17 .PHONY: all clean upload