X-Git-Url: http://challenge-bot.com/repos/?p=challenge-bot;a=blobdiff_plain;f=Makefile;h=54492a58b21bca08db6e9f63e9919a6dc89fba1f;hp=48ef3d4a1bf682944f79b3297afc87aa5068108f;hb=refs%2Fheads%2Fdevelop%2Fj;hpb=a941f5d5a1c4f9686d330bcd44e197031bc56e9a diff --git a/Makefile b/Makefile index 48ef3d4..54492a5 100644 --- a/Makefile +++ b/Makefile @@ -10,11 +10,44 @@ 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 "challenge-bot.com" + +qrcode: + qrencode -l L -v 1 -o qr.png "challenge-bot.com" + +qrcode-large: + qrencode -l L -v 1 -o qr-large.png "https://gitorious.org/ozzloy/challenge-bot" + clean: - rm -f ${HTMLS} ${PDFS} *.gcode *.x3g *.stl + rm -f ${HTMLS} ${PDFS} 3d-printables/*.gcode \ + 3d-printables/*.x3g 3d-printables/*.stl %.html: %.md markdown $< > $@