diff options
| author | Manuel Traut <manut@linutronix.de> | 2010-10-13 16:56:37 +0200 |
|---|---|---|
| committer | Manuel Traut <manut@linutronix.de> | 2010-10-13 16:56:37 +0200 |
| commit | 8befecfca01c0675ed5c645bc280f2dba47f8cba (patch) | |
| tree | e7e10000a71c7f84a7119ea5fa3582d856bd92f2 /linux-basics | |
| parent | bb4eefa52e5a886f9ad2a09583be3014f8e5993d (diff) | |
simplify makefiles
Signed-off-by: Manuel Traut <manut@linutronix.de>
Diffstat (limited to 'linux-basics')
| -rw-r--r-- | linux-basics/Makefile | 2 | ||||
| -rw-r--r-- | linux-basics/boot-process/Makefile | 8 | ||||
| -rw-r--r-- | linux-basics/filesystem-structure/Makefile | 8 | ||||
| -rw-r--r-- | linux-basics/important-tools/Makefile | 5 | ||||
| -rw-r--r-- | linux-basics/linux-mm-basics/Makefile | 8 | ||||
| -rw-r--r-- | linux-basics/sh-programming/Makefile | 8 | ||||
| -rw-r--r-- | linux-basics/what-is-linux/Makefile | 8 |
7 files changed, 25 insertions, 22 deletions
diff --git a/linux-basics/Makefile b/linux-basics/Makefile index 10d4fc6..72cada2 100644 --- a/linux-basics/Makefile +++ b/linux-basics/Makefile @@ -1,4 +1,4 @@ -SUBDIRS = boot-process filesystem-structure important-tools linux-processes sh-programming what-is-linux linux-mm-basics +SUBDIRS = `ls -1` all clean:: for dir in $(SUBDIRS) ; do \ diff --git a/linux-basics/boot-process/Makefile b/linux-basics/boot-process/Makefile index 46df0b2..4663d52 100644 --- a/linux-basics/boot-process/Makefile +++ b/linux-basics/boot-process/Makefile @@ -1,8 +1,8 @@ all: - pdflatex pres_boot-process_de.tex - pdflatex hints_boot-process_de.tex - pdflatex handout_boot-process_de.tex - pdflatex handout_boot-process_de.tex + for pdf in `ls -1 *.tex` ; do \ + pdflatex $$pdf; \ + pdflatex $$pdf; \ + done clean: rm -f *.aux *.log *.pdf *.log *.snm *.toc *.vrb *.nav *.out diff --git a/linux-basics/filesystem-structure/Makefile b/linux-basics/filesystem-structure/Makefile index 1e609fd..4663d52 100644 --- a/linux-basics/filesystem-structure/Makefile +++ b/linux-basics/filesystem-structure/Makefile @@ -1,8 +1,8 @@ all: - pdflatex pres_file-system-structure_de.tex - pdflatex hints_file-system-structure_de.tex - pdflatex handout_file-system-structure_de.tex - pdflatex handout_file-system-structure_de.tex + for pdf in `ls -1 *.tex` ; do \ + pdflatex $$pdf; \ + pdflatex $$pdf; \ + done clean: rm -f *.aux *.log *.pdf *.log *.snm *.toc *.vrb *.nav *.out diff --git a/linux-basics/important-tools/Makefile b/linux-basics/important-tools/Makefile index ffcea55..4663d52 100644 --- a/linux-basics/important-tools/Makefile +++ b/linux-basics/important-tools/Makefile @@ -1,5 +1,8 @@ all: - pdflatex pres_important_tools_de.tex + for pdf in `ls -1 *.tex` ; do \ + pdflatex $$pdf; \ + pdflatex $$pdf; \ + done clean: rm -f *.aux *.log *.pdf *.log *.snm *.toc *.vrb *.nav *.out diff --git a/linux-basics/linux-mm-basics/Makefile b/linux-basics/linux-mm-basics/Makefile index 5a7cfbe..4663d52 100644 --- a/linux-basics/linux-mm-basics/Makefile +++ b/linux-basics/linux-mm-basics/Makefile @@ -1,8 +1,8 @@ all: - pdflatex pres_linux-mm-basics_en.tex - pdflatex hints_linux-mm-basics_en.tex - pdflatex handout_linux-mm-basics_en.tex - pdflatex handout_linux-mm-basics_en.tex + for pdf in `ls -1 *.tex` ; do \ + pdflatex $$pdf; \ + pdflatex $$pdf; \ + done clean: rm -f *.aux *.log *.pdf *.log *.snm *.toc *.vrb *.nav *.out diff --git a/linux-basics/sh-programming/Makefile b/linux-basics/sh-programming/Makefile index 325aad0..4663d52 100644 --- a/linux-basics/sh-programming/Makefile +++ b/linux-basics/sh-programming/Makefile @@ -1,8 +1,8 @@ all: - pdflatex pres_sh-programming_de.tex - pdflatex hints_sh-programming_de.tex - pdflatex handout_sh-programming_de.tex - pdflatex handout_sh-programming_de.tex + for pdf in `ls -1 *.tex` ; do \ + pdflatex $$pdf; \ + pdflatex $$pdf; \ + done clean: rm -f *.aux *.log *.pdf *.log *.snm *.toc *.vrb *.nav *.out diff --git a/linux-basics/what-is-linux/Makefile b/linux-basics/what-is-linux/Makefile index 84f91b4..4663d52 100644 --- a/linux-basics/what-is-linux/Makefile +++ b/linux-basics/what-is-linux/Makefile @@ -1,8 +1,8 @@ all: - pdflatex pres_what-is-linux_de.tex - pdflatex hints_what-is-linux_de.tex - pdflatex handout_what-is-linux_de.tex - pdflatex handout_what-is-linux_de.tex + for pdf in `ls -1 *.tex` ; do \ + pdflatex $$pdf; \ + pdflatex $$pdf; \ + done clean: rm -f *.aux *.log *.pdf *.log *.snm *.toc *.vrb *.nav *.out |
