I am writing a LaTeX project that I am using a makefile for. I have a clean function to clean the excess LaTeX files:
.PHONY: clean clean: \rm *.aux *.blg *.out *.bbl *.log
But in some cases I need to get rid of the generated files as well as the PDF file. I have attempted this using:
.PHONY: clean_all clean_all: $(clean) \rm *.pdf
This does not work as it only removes the PDF file.
My question is how do I invoke the
clean rule inside the