Makefile: Update makefile
This commit is contained in:
1 parent
e49c2776b7
commit
247968c0ff
2 files changed
+10
-5
No files matched your search
@@ -1,5 +1,6 @@
|
|||||||
PRESENTATIONS = Logiciel_Libre
|
PRESENTATIONS = Logiciel_Libre Yocto-RapsberryPi-devtool-Ansible Alternative_pour_Android Presentation_fitImage
|
||||||
PRESENTATIONS_PDF = $(addsuffix .pdf,$(PRESENTATIONS))
|
|
||||||
|
# Individual project
|
||||||
|
|
||||||
Logiciel_Libre: Logiciel_Libre.pdf
|
Logiciel_Libre: Logiciel_Libre.pdf
|
||||||
|
|
||||||
@@ -9,7 +10,9 @@ Alternative_pour_Android: Alternative_pour_Android.pdf
|
|||||||
|
|
||||||
Presentation_fitImage: Presentation_fitImage.pdf
|
Presentation_fitImage: Presentation_fitImage.pdf
|
||||||
|
|
||||||
all: $(PRESENTATIONS)
|
# Commun project
|
||||||
|
|
||||||
|
all: $(addsuffix .pdf,$(PRESENTATIONS))
|
||||||
|
|
||||||
%.pdf: %.tex
|
%.pdf: %.tex
|
||||||
pdflatex $<
|
pdflatex $<
|
||||||
@@ -17,5 +20,5 @@ all: $(PRESENTATIONS)
|
|||||||
clean: $(addprefix clean-,$(PRESENTATIONS))
|
clean: $(addprefix clean-,$(PRESENTATIONS))
|
||||||
|
|
||||||
clean-%:
|
clean-%:
|
||||||
rm -f $*.{aux,nav,pdf,log,out,snm,toc}
|
rm -f $*.{aux,nav,vrb,log,out,snm,toc}
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ Compilation
|
|||||||
|
|
||||||
Pour construire tout les projets
|
Pour construire tout les projets
|
||||||
```bash
|
```bash
|
||||||
$ make
|
$ make all
|
||||||
```
|
```
|
||||||
|
|
||||||
Pour construire un projet
|
Pour construire un projet
|
||||||
@@ -67,6 +67,8 @@ Pour supprimer un projet
|
|||||||
$ make clean-<projet>
|
$ make clean-<projet>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
_Note: To force second compilation, use `--always-make` option_
|
||||||
|
|
||||||
Liens Utiles
|
Liens Utiles
|
||||||
============
|
============
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user