From: Thomas Lamprecht Date: Thu, 25 May 2023 09:46:43 +0000 (+0200) Subject: buildsys: add download-source target X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=0f11ce7aeae2e59dadafd78b29ad5931a47e977d;hp=c17a7b3a8567aa1464bc751225816980a452609c;p=libjs-qrcodejs.git buildsys: add download-source target mostly to document where the actual origin is. Signed-off-by: Thomas Lamprecht --- diff --git a/src/Makefile b/src/Makefile index 39f6c47..f4bcb0c 100644 --- a/src/Makefile +++ b/src/Makefile @@ -4,5 +4,9 @@ qrcode.min.js: qrcode.js uglifyjs -m -c -o $@.tmp $< mv $@.tmp $@ +download-source: + wget -O qrcode.js.tmp https://raw.githubusercontent.com/davidshimjs/qrcodejs/master/qrcode.js + mv qrcode.js.tmp qrcode.js + clean: rm -f qrcode.min.js qrcode.min.js.tmp