projects
/
~bandali
/
cv
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make Makefile more robust and able to handle different documents
[~bandali/cv]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
607248b
..
b83b5b1
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-18,13
+18,16
@@
# along with this CV. If not, see <https://www.gnu.org/licenses/>.
# along with this CV. If not, see <https://www.gnu.org/licenses/>.
-all: bandali-
cv
.pdf
+all: bandali-
%
.pdf
-bandali-
cv.pdf: bandali-cv
.tex
- latexmk -lualatex
bandali-cv
+bandali-
%.pdf: bandali-%
.tex
+ latexmk -lualatex
$<
-watch
:
- latexmk -lualatex -pvc -view=none
bandali-cv
+watch
-%: bandali-%.pdf
+ latexmk -lualatex -pvc -view=none
$(basename $<)
clean:
clean:
+ latexmk -c
+
+clean-all:
latexmk -C
latexmk -C