浏览代码

Makefiles added to docs

master
Dirk Alders 2 年前
父节点
当前提交
7dc2a412ff
共有 3 个文件被更改,包括 44 次插入0 次删除
  1. 10
    0
      doc/Makefile
  2. 17
    0
      doc/beaglebone/Makefile
  3. 17
    0
      doc/embedded_cross_compile/Makefile

+ 10
- 0
doc/Makefile 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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

正在加载...
取消
保存