summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-01-23 18:15:08 +0100
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-01-23 18:15:08 +0100
commit13b274d3dedbb10ed55ab40d722be2ff8b335de6 (patch)
tree60f6fd2619bc17425af679b4eec15a6329a4fc9c
parentf1abbdd64c18775e1a8858c6cbc592bbdb259494 (diff)
downloadgtk4-13b274d3dedbb10ed55ab40d722be2ff8b335de6.tar.gz
gtk4-13b274d3dedbb10ed55ab40d722be2ff8b335de6.zip
Add files in subdirectories to clean up
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 50b900a..16d090c 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,11 @@ LOC = it
CC = pdflatex
SRC != find * -name '*.tex'
+# I need theese to clean up the project
+AUX_FILES != find * -name '*.aux'
+LOG_FILES != find * -name '*.log'
+PDF_FILES != find * -name '*.log'
+
gtk4-book-${LOC}.pdf: main-${LOC}.tex ${SRC}
${CC} main-${LOC}.tex
# For some pacakge/tool we need to execute the command twice
@@ -13,8 +18,7 @@ main-${LOC}.tex: main.tex
@sed -i "" 's/LOC\//${LOC}\//' $@
clean:
- @rm -f *.log *.aux *.pdf
- @rm -f main-*.tex
+ rm -f main-*.tex ${LOG_FILES} ${AUX_FILES} ${PDF_FILES}
english:
@make LOC=en