kopia lustrzana https://github.com/bristol-seds/pico-tracker
14 wiersze
348 B
Makefile
14 wiersze
348 B
Makefile
![]() |
# Makefile for design notes
|
||
|
|
||
|
all: fbri-notes.pdf Parts.md
|
||
|
|
||
|
%.pdf: %.tex
|
||
|
pdflatex $<
|
||
|
|
||
|
# Formats know Farnell Order numbers as hyperlinks
|
||
|
#
|
||
|
.PHONY: Parts.md
|
||
|
Parts.md:
|
||
|
@echo "Adding links to parts list..."
|
||
|
@sed 's/\([0-9]\{7\}\)/[\1](http:\/\/uk.farnell.com\/jsp\/search\/browse.jsp;jsessionid=0?N=0\&Ntk=partnumbers\&Ntt=*\1*)/g' Parts > Parts.md
|