Makefiles added to docs

This commit is contained in:
Dirk Alders 2022-05-07 22:05:04 +02:00
parent 88a5fa66e5
commit 7dc2a412ff
3 changed files with 44 additions and 0 deletions

10
doc/Makefile Normal file
View File

@ -0,0 +1,10 @@
.PHONY: pdf clean view
pdf:
@ineach "make $@"
clean:
@ineach "make $@"
view:
@ineach "make $@"

17
doc/beaglebone/Makefile Normal file
View File

@ -0,0 +1,17 @@
TARGET=beaglebone_black
.PHONY: all pdf clean
all: pdf clean
pdf:
latexmk -pdf -pdflatex="pdflatex -interaction=nonstopmode" -use-make $(TARGET).tex
view: pdf clean
xdg-open $(TARGET).pdf
clean:
@echo "\033[1;33mCleaning up...\033[00m"
@rm -f *~
@latexmk -c -f $(TARGET).tex 1> /dev/null 2> /dev/null

View File

@ -0,0 +1,17 @@
TARGET=Kurzanleitung
.PHONY: all pdf clean
all: pdf clean
pdf:
latexmk -pdf -pdflatex="pdflatex -interaction=nonstopmode" -use-make $(TARGET).tex
view: pdf clean
xdg-open $(TARGET).pdf
clean:
@echo "\033[1;33mCleaning up...\033[00m"
@rm -f *~
@latexmk -c -f $(TARGET).tex 1> /dev/null 2> /dev/null