605a8a054ffb61009b7be038c2ad92e052df1e39
Stefan Schuermans first version of manual

Stefan Schuermans authored 5 years ago

1) NAME := Chaosknoten
2) PAPER := a4
Stefan Schuermans convert to pdflatex

Stefan Schuermans authored 5 years ago

3) PHOTOS := battery_holder capacitor Chaosknoten_back Chaosknoten_front led \
4)           microcontroller resistor switch transistor
5) SYMBOLS := battery_holder capacitor Chaosknoten_back Chaosknoten_front led \
6)            microcontroller resistor schematic smd_solder_done smd_solder_pads \
7)            smd_solder_part smd_solder_start smd_solder_tin switch transistor
Stefan Schuermans first version of manual

Stefan Schuermans authored 5 years ago

8) 
9) CONVERT := convert
10) INKSCAPE := inkscape
Stefan Schuermans convert to pdflatex

Stefan Schuermans authored 5 years ago

11) PDFLATEX := pdflatex
Stefan Schuermans first version of manual

Stefan Schuermans authored 5 years ago

12) 
Stefan Schuermans convert to pdflatex

Stefan Schuermans authored 5 years ago

13) IMAGES := $(addsuffix .jpg,$(addprefix photos/,$(PHOTOS))) \
14)           $(addsuffix .svg,$(addprefix symbols/,$(SYMBOLS)))
15) IMAGES_PDF := $(addsuffix .pdf,$(addprefix photos/,$(PHOTOS))) \
16)               $(addsuffix .pdf,$(addprefix symbols/,$(SYMBOLS)))
Stefan Schuermans first version of manual

Stefan Schuermans authored 5 years ago

17) 
18) SUFFIXES :=
19) 
20) .PHONY: all show clean
21) .SUFFIXES:
22) .SECONDARY:
23) 
Stefan Schuermans convert to pdflatex

Stefan Schuermans authored 5 years ago

24) all: $(NAME).pdf
Stefan Schuermans first version of manual

Stefan Schuermans authored 5 years ago

25) 
26) clean:
Stefan Schuermans convert to pdflatex

Stefan Schuermans authored 5 years ago

27) 	rm -f $(NAME).aux $(NAME).log $(NAME).out $(NAME).pdf $(IMAGES_PDF)
Stefan Schuermans first version of manual

Stefan Schuermans authored 5 years ago

28) 
Stefan Schuermans convert to pdflatex

Stefan Schuermans authored 5 years ago

29) %.pdf: %.jpg
Stefan Schuermans first version of manual

Stefan Schuermans authored 5 years ago

30) 	$(CONVERT) $< $@
31) 
Stefan Schuermans convert to pdflatex

Stefan Schuermans authored 5 years ago

32) %.pdf: %.svg
33) 	$(INKSCAPE) -f $< -A $@
Stefan Schuermans first version of manual

Stefan Schuermans authored 5 years ago

34) 
Stefan Schuermans convert to pdflatex

Stefan Schuermans authored 5 years ago

35) %.pdf: %.tex $(IMAGES_PDF)
36) 	yes x | $(PDFLATEX) $< || { rm -f $@; false; }
37) 	yes x | $(PDFLATEX) $< || { rm -f $@; false; }