Apply V option to make clean

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
This commit is contained in:
Steffen Jaeckel 2026-04-30 08:56:21 +02:00
parent f940880a67
commit 078fd15f69
2 changed files with 9 additions and 8 deletions

View file

@ -59,5 +59,5 @@ termdoc: docdvi
dvi2tty crypt.dvi -w120
clean:
rm -f $(LEFTOVERS)
rm -rf doxygen/
${silent} rm -f $(LEFTOVERS)
${silent} rm -rf doxygen/

View file

@ -536,7 +536,8 @@ HEADER_FILES=$(notdir $(HEADERS_PUB))
#This rule cleans the source tree of all compiled code, not including the pdf
#documentation.
clean: $(call print-help,clean,Clean everything besides the pdf documentation)
find . -type f -name "*.o" \
${silent} find . -type f \
-name "*.o" \
-o -name "*.a" \
-o -name "*.obj" \
-o -name "*.lib" \
@ -551,11 +552,11 @@ clean: $(call print-help,clean,Clean everything besides the pdf documentation)
-o -name "*.il" \
-o -name "*.dyn" \
-o -name "*.dpi" | xargs rm -f
rm -f $(TIMING) $(TEST) $(DEMOS)
rm -f *_tv.txt
rm -f *.pc
rm -rf `find . -type d -name "*.bin" | xargs`
$(MAKE) -C doc/ clean
${silent} rm -f $(TIMING) $(TEST) $(DEMOS)
${silent} rm -f *_tv.txt
${silent} rm -f *.pc
${silent} rm -rf `find . -type d -name "*.bin" | xargs`
${silent} $(MAKE) -C doc/ clean V=${V}
zipup: $(call print-help,zipup,Prepare the archives for a release) doc/crypt.pdf
@# Update the index, so diff-index won't fail in case the pdf has been created.