X-Git-Url: http://challenge-bot.com/repos/?p=challenge-bot;a=blobdiff_plain;f=Makefile;h=6a6f5b39d279271428f591a81a5c442c797f86aa;hp=56deb650c3178efa91e779476197ff3153fa09b5;hb=28ebab5637f8909d67878f10674f0aed6518f9ea;hpb=3f827760e8f5a7f73c93ddffd7b5fe194f404203 diff --git a/Makefile b/Makefile index 56deb65..6a6f5b3 100644 --- a/Makefile +++ b/Makefile @@ -10,9 +10,41 @@ all: ${HTMLS} ${PDFS} echo HTMLS=${HTMLS} echo PDFS=${PDFS} +astyle: + astyle \ + --mode=c \ + --style=lisp \ + --indent=spaces=2 \ + --recursive '*.ino' \ + --pad-oper \ + --add-brackets \ + --convert-tabs \ + --max-code-length=80 \ + --line-end=linux + +initial-ubuntu-install: + sudo apt-get install -y qrencode fritzing openscad + +uuid: + uuid -v4 + index.html: README.html cp $< $@ +qr-sticker-paper.pdf: qr qr-sticker-paper.tex + pdflatex qr-sticker-paper.tex + +qr.png: qr + +qr: + qrencode -s 6 -l L -v 1 -o qr.png "xib.me/rmmt" + +qrcode: + qrencode -l L -v 1 -o qr.png "xib.me/rmmt" + +qrcode-large: + qrencode -l L -v 1 -o qr-large.png "https://gitorious.org/ozzloy/challenge-bot" + clean: rm -f ${HTMLS} ${PDFS} 3d-printables/*.gcode \ 3d-printables/*.x3g 3d-printables/*.stl