Browse Source

Makefiles added to docs

master
Dirk Alders 2 years ago
parent
commit
7dc2a412ff
3 changed files with 44 additions and 0 deletions
  1. 10
    0
      doc/Makefile
  2. 17
    0
      doc/beaglebone/Makefile
  3. 17
    0
      doc/embedded_cross_compile/Makefile

+ 10
- 0
doc/Makefile View File

@@ -0,0 +1,10 @@
1
+.PHONY: pdf clean view
2
+
3
+pdf:
4
+	@ineach "make $@"
5
+
6
+clean:
7
+	@ineach "make $@"
8
+
9
+view:
10
+	@ineach "make $@"

+ 17
- 0
doc/beaglebone/Makefile View File

@@ -0,0 +1,17 @@
1
+TARGET=beaglebone_black
2
+
3
+
4
+.PHONY: all pdf clean
5
+
6
+all: pdf clean
7
+
8
+pdf:
9
+	latexmk -pdf -pdflatex="pdflatex -interaction=nonstopmode" -use-make $(TARGET).tex
10
+
11
+view: pdf clean
12
+	xdg-open $(TARGET).pdf
13
+
14
+clean:
15
+	@echo "\033[1;33mCleaning up...\033[00m"
16
+	@rm -f *~
17
+	@latexmk -c -f $(TARGET).tex 1> /dev/null 2> /dev/null

+ 17
- 0
doc/embedded_cross_compile/Makefile View File

@@ -0,0 +1,17 @@
1
+TARGET=Kurzanleitung
2
+
3
+
4
+.PHONY: all pdf clean
5
+
6
+all: pdf clean
7
+
8
+pdf:
9
+	latexmk -pdf -pdflatex="pdflatex -interaction=nonstopmode" -use-make $(TARGET).tex
10
+
11
+view: pdf clean
12
+	xdg-open $(TARGET).pdf
13
+
14
+clean:
15
+	@echo "\033[1;33mCleaning up...\033[00m"
16
+	@rm -f *~
17
+	@latexmk -c -f $(TARGET).tex 1> /dev/null 2> /dev/null

Loading…
Cancel
Save