# 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:
+ latexmk -c
+
+clean-all:
latexmk -C